python the hard way ex upto ex13
This commit is contained in:
parent
dab9fe5912
commit
ed8222535a
7 changed files with 68 additions and 0 deletions
15
sami/learn-python-the-hard-way/ex9.py
Normal file
15
sami/learn-python-the-hard-way/ex9.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# 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"
|
||||
|
||||
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 we like.
|
||||
Even 4 lines if we want, or 5, or 6.
|
||||
""")
|
||||
Loading…
Add table
Add a link
Reference in a new issue