Jun-12-2020, 04:55 PM
it looks like you are entering your code in python interactive shell. that is when you have
You need to write your code in a file and save it as file with py extension and then execute it.
Look at https://python-forum.io/Thread-How-to-Ex...ython-code for more info
>>>
at the start of the line. In this mode every line is evaluated and executed immediately.You need to write your code in a file and save it as file with py extension and then execute it.
Look at https://python-forum.io/Thread-How-to-Ex...ython-code for more info
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