Код: Выделить всё
def main()
name = input ("Please enter your name")
print ("your name is", name)
Код: Выделить всё
Traceback (most recent call last):
File "C:\Users\********\Documents\PYTHON\hello world.py", line 66, in ?
main()
File "C:\Users\********\Documents\PYTHON\hello world.py", line 5, in main
name = input ("Please enter your name")
File "", line 0, in ?
NameError: name 'Jim' is not defined
Подробнее здесь: https://stackoverflow.com/questions/616 ... ot-defined
Мобильная версия