05-简单的输入输出

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

输出:


原文地址:https://www.cnblogs.com/hejianping/p/10843392.html