2-1简单信息:
message="hello world"
print(message)
运行结果:
2-2多条简单信息:
message="hello world"
print(message)
message="no thanks"
print(message)
运行结果:
2-3个性化信息:
name="Ro bo"
print("hello, "+name+", Good morning!")
运行结果:
2-4调整名字大小写:
name="Ro bo"
print("hello, "+name.lower()+", Good morning!")
print("hello, "