python input() EOF error and return value of type int?
问题 I have 2 questions on these 2 short codes. 1. name = input('what: ') print(name) output what: 641u Traceback (most recent call last): File "/Users/vuthynun/PycharmProjects/untitled1/h/__init__.py", line 1, in <module> name = input('what: ') File "<string>", line 1 641u ^ SyntaxError: unexpected EOF while parsing Process finished with exit code 1 Why does it give me this error? 2. name = input('what: ') print(type(name)) output: what: 23 <type 'int'> Process finished with exit code 0 Why is