print('请输入你的名字:')name = input() # 声明变量print('你的名字是:' + name)
请输入你的名字:
小白
你的名字是: 小白
进程已结束, 退出代码 0
来源: http://www.bubuko.com/infodetail-2806781.html