0
I’m running version 2.7 of Python:
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
When I try to spin that code line:
x = input('Enter your name:')
print('Hello, ' + x)
I have the following mistake:
$ python index.py
Enter your name:acb
Traceback (most recent call last):
File "index.py", line 1, in <module>
x = input('Enter your name:')
File "<string>", line 1, in <module>
NameError: name 'acb' is not defined
Someone knows how I fix it?
your code worked. I’ll update.
– zwitterion
yes... I was only waiting for the minimum time of 7 min. You replied before.
– zwitterion