input函数报错"*** is not defined" #键盘输入输出name = input('input your name: ')print("姓名:"+name)运行结果: 只需要在输入时加引号,如"yu",就不报错了。