+ 5
Please who can tell me why interpreter keep saying word is not defined?
>>> word = input("enter a word:") enter a word:cheese >>> print(word + 'shop') NameError: name 'word' is not defined đ >>>
2 Answers
+ 5
oh, lemme try
+ 2
Maybe try putting that in a .py file instead, then running it.