# Here's some new strange stuff, remember type it exactly.
days ="Mon Tue Wed Thu Fri Sat Sun"#字符串变量
months ="Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug"#字符串变量,\n表示换行print("Here are the days: ", days)#打印字符串,以及字符串变量,用,连接。print("Here are the months: ",months)print("""
There's something going on here.
With the three double-quotes.
We'll be able to type as much as like.
Even 4 lines if we want, or 5, or 6.
""")#打印固定位置的字符串,用三对连续的双引号
输出结果
Here are the days: Mon Tue Wed Thu Fri Sat Sun
Here are the months: Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
There's something going on here.
With the three double-quotes.
We'll be able to typeas much as like.
Even 4 lines if we want,or5,or6.