1 # Here's some new strange stuff,remember type it exactly. 2 3 days = "Mon Tue Wed Thu Fri Sat Sun" 4 # \n:换行符号 5 months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug" 6 7 print("Here are the days:",days) 8 print("Here are the months:",months) 9 10 # """........"""换行符 11 print(""" 12 There's something going on here. 13 With the three double-quotes. 14 We'll be able to type as much as we like. 15 Even 4 lines if we want,or 5,or 6. 16 """)
* \n:换行
* """......."""换行