Mar-16-2021, 10:51 AM
It is important that you understand that there are methods that work in-place (and return None) and others that return something like in this case -
list.count()
will return the result (if you want to use it, you need to bind it to a name, or print it, etc.)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs