05-简单的输入输出

username = input('username: ')
print('welcome', username)  # print各项间默认以空格作为分隔符。
print('welcome ' + username)  # 注意引号内最后的空格。

输出:

 


posted @ 2019-05-10 11:22  hejp  阅读(116)  评论(0编辑  收藏  举报