-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathex9.py
More file actions
17 lines (16 loc) · 739 Bytes
/
Copy pathex9.py
File metadata and controls
17 lines (16 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Here's some new strange stuff, remember type it exactly.
#This assigns a new string variable with week days separated by space
days = "Mon Tue Wed Thu Fri Sat Sun"
#This assigns a string variable with months separated with new line '\n'
months = "\nJan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug"
#This prints out the 'days' string variable
print("Here are the days: ", days)
#This prints out the 'months' string variable
print("Here are the months: ", months)
#This prints out the long text formatted as it is inside the editor. Both double and single quotes used 3 times work.
print('''
There's something going on here.
With the three double-quotes.
We'll be able to type as much as we like.
Even 4 lines if we want, or 5, or 6.
''')