Please, don't start new thread with each change/iteration of your code...
yes, just for checking.
but how come i run it python 2? how can i change it to python 3
probably you have both python2 and python3 installed.
I guess you run it from within PyCharm. You need to select the interpreter for the project from PyCharm settings
https://www.jetbrains.com/help/pycharm-e...oject.html
if you run it from the command line, try using
python3
, not
python
, e.g.
python3 yourscript.py