How do you make Python accept multiple strings and break them down in an input?
For example,
main = input ('> ')
if main == ('ECHO',some_words):
print (some_words)
But everytime I do that, the some_words string wouldn't be defined.
Error Message:
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
if main == ('ECHO',some_words):
NameError: name 'some_words' is not defined
Can someone please teach me how?