We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In particular what is bold here:
def __str__(self): deck_comp = "" for card in **self.cards**: **deck_comp += " " + deck_comp.__str__()** return "The deck has" + deck_comp
self.cards - how is self.cards known? deck_comp.str() seems like a method for the general string function?
Thanks in advance.
A frustrated user.
The text was updated successfully, but these errors were encountered:
I think this might help you @MDSvensson :
https://stackoverflow.com/questions/2709821/what-is-the-purpose-of-self
Sorry, something went wrong.
No branches or pull requests
In particular what is bold here:
self.cards - how is self.cards known?
deck_comp.str() seems like a method for the general string function?
Thanks in advance.
A frustrated user.
The text was updated successfully, but these errors were encountered: