Nov-04-2018, 09:47 PM
Can not have a space if typing in IDLE(start in interactive mode
Run as script File --> New File,write or paste in code save with .py extension,Run Module(F5).
Install 3.7 if you on Windows.
>>>
).Run as script File --> New File,write or paste in code save with .py extension,Run Module(F5).
λ python Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print(7) 7 >>> print('7') 7 # One space and get your error. >>> print(7)) File "<stdin>", line 1 print(7)) ^ IndentationError: unexpected indent >>>Look at Python 3.6/3.7 and pip installation under Windows
Install 3.7 if you on Windows.