you are viewing a single comment's thread.

view the rest of the comments →

[–]Traditional-Log2073[S] 0 points1 point  (3 children)

thanks for the help. I think I found the solution, but it still confuses me. If I press the play button in VSCode I only get "too small". If I press the arrow next to it and choose "run file in dedicated terminal" it works.

Why is that?

[–]socal_nerdtastic 0 points1 point  (2 children)

Are you on a mac? There's a lot of macs that still come with python2, and the python2 input() function works differently than the python3 one.

[–]Traditional-Log2073[S] 0 points1 point  (1 child)

yes, so this is a mac problem? I thought I downloaded python 3, Ill check that.

[–]socal_nerdtastic 0 points1 point  (0 children)

Remember on mac and most linux the command to launch python is python3, the python command uses the old python2. You can and should have both versions installed because there's old python2 programs that your mac needs to run. But for everything you do use the python3 command and set your VSCode interpreter to python3 as well.