June 2017
Beginner
320 pages
7h 37m
English
By now you should realize the pattern for this book is to use more than one exercise to teach you something new. I start with code that you might not understand, then more exercises explain the concept. If you don’t understand something now, you will later as you complete more exercises. Write down what you don’t understand, and keep going.
ex9.py
1 # Here's some new strange stuff, remember type it exactly. 2 3 days = "Mon Tue Wed Thu Fri Sat Sun" 4 months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug" 5 6 print("Here are the days: ", days) 7 print("Here are the months: ", months) 8 9 print("""10 There's something going on here.11 With the three double-quotes. ...
Read now
Unlock full access