#๐ what's the difference
20 messages ยท Page 1 of 1 (latest)
@pliant shoal
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Print vs print
try initiallizing them
No the issue is that the class doesn't have the attribute you were trying to assess
they've set the instance attributes. The problem is only the lowercase p
you can set arbitrary attributes on a class instance
The IDE is probably showing them underlined because they are unused
name and train defined??
Yeah that's right it was done after the initialisation of the class the function in the second class has a upper case p what the function that was called has a lower case p
GUYS IT WORKED THANKS
Ok
python standard is snake_case
Yes
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.