您的位置:首页 > 编程语言 > Python开发

输入和输出

2016-05-06 22:24 507 查看
输入

name = input()

chanchaoo

name = input('please enter your name:')

please enter your name:chanchaoo

输出

print('hello,world')

hello world

print('100+200=',100+200)

100+200=300

输入和输出

name = input('please enter your name:')

print('hello',name)

please enter your name:chanchaoo

hello chanchaoo
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  python