What I have to do is I got Jessica = Necklace ('Jessica') When ordered to execute Jessica, Necklace ('Jessica') I have to give it out as an output, but the rest of the prints and len work well, but when I run Jessica, it continues to be printed only as 'Jessica', so I can't solve it. I've tried the Python console, but I can't find the problem.
def Necklace(self):
return self
Jessica = Necklace('Jessica')
Jessica
print(Jessica)
len(Jessica)
def Necklace(self):
return self
Jessica = Necklace('Jessica')
print(Jessica) # Jessica
Jessica = Necklace
print(Jessica('Jessica')) # Jessica
Jessica = "Necklace('Jessica')"
print(Jessica) # Necklace('Jessica')
I don't know what you want 😢
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
612 GDB gets version error when attempting to debug with the Presense SDK (IDE)
581 PHP ssh2_scp_send fails to send files as intended
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.