My code is simple. The problem is input command.
I try to write python code that accept user string input from the keyboard and display it. But it Generate this error message always SyntaxError: unexpected EOF while parsing
Generally my python code always can't accept user string input from the keyboard. any one can tell me the problem or fix this error message?
this is code
Message = input('> ')
Word = Message.split(' ')
print (Word)
Error Message
Traceback (most recent call last):
File "C:/Users/My_Computer_Name/PycharmProjects/test/tests.py", line 1, in <module>
message = input('> ')
File "<string>", line 1
Hi hi
^
SyntaxError: unexpected EOF while parsing