1
Error makes no sense
alirazzes (0)

This is what came up in the code when there is nothing wrong with the code and everything is defined.

Traceback (most recent call last):
File "main.py", line 4, in <module>
name = input("Hello, Traveller! I'm Alderon. What is your name?")
File "<string>", line 1, in <module>
NameError: name 'James' is not defined

You are viewing a single comment. View All
1
Imanoob_coder (2)

the input should be raw_input("Hello, Traveller! I'm Alderon. What is your name?")
if its in python 2.7. otherwise idk