I've wrote a simple code assigning an inputed value to a variable and print such variable, the same code works on my windows pc but not on my M1 MacBook Air. Is this an issue on my end where I am missing something out perhaps or is this just an issue with the M1 chip? I'm fairly new to coding so maybe I have some wrong settings in vs code, any help would be appreciated. screenshot from my MacBook
python -u "/Users/jeff/Documents/whynowork.py"
jeff@Jeffs-MacBook-Air ~ % python -u
"/Users/jeff/Documents/whynowork.py"
Enter input:hello
Traceback (most recent call last):
File "/Users/jeff/Documents/whynowork.py", line 1, in <module>
example = input("Enter input:")
File "<string>", line 1, in <module>
NameError: name 'hello' is not defined
jeff@Jeffs-MacBook-Air ~ %
I have gotten replies that I am using python 2, but in my vs code at the bottom (even in the screenshot you can see that) I think I am using python 3.8.2.