Python 基础入门 1_Print&Input

# 单行注释
'''
多行注释
多行注释
'''
"""
多行注释2
多行注释2
"""
#Print 输出 每个print占一行
print("HJL")

#多输出并存于一行并以空格隔开
print("HJL","is","a man")

#输出多行 (只能是String类型)
print('''hjl
jk
kjj''')

#input 输入
print("您的年龄是",input("请输入你的年龄"))



猜你喜欢

转载自www.cnblogs.com/hjlin/p/10627297.html