+ 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 Antworten
+ 5
oh, lemme try
+ 2
Maybe try putting that in a .py file instead, then running it.