Python Forum

Full Version: error with python and atom editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi all, friends for you this code should work in 3.6.4? with the atom editor
name = input ('please give your name')
print ('welcome', name)

it happens that I get an error
please give your namejose
Error:
Traceback (most recent call last): File "\Documents\py4eco\ejercicios\test.py", line 1, in <module> name = input('please give your name') File "<string>", line 1, in <module> NameError: name 'jose' is not defined
everything worked fine until I format my pc and install all the programs, after that I get this error

please help me
Looks like you're using Python 2.