用 Python 3.3.0 尝试了我的第一个程序
print ("cookies")
x= input ("enter your name")
print ("good day to you sir ") + x
当我想用 F5 启动我的程序时,它说
Traceback (most recent call last):
File "C:/Users/xxxx/Desktop/cookies.py", line 3, in <module>
print ("good day to you sir ") + input
TypeError: unsupported operand type(s) for +: 'NoneType' and 'builtin_function_or_method'