Errata: October 24, 2018

Thank you for purchasing Get Programming: Learn to code with Python. Please post any errors, other than those listed below, in the book's Author Online Forum. We'll update this list as necessary. Thank you!


Lesson 5: Page 49

"...the expression 4 < 5 is replaced by False." should be "...the expression 4 < 5 is replaced by True."

Lesson 28: Page 282

In Listing 28.4, songs = [] does not mutate the original list. It makes songs point to a new, empty list.

Appendix A: Page 396

It is possible to write the code without a for loop, as

num = int(input("Tell me a number: "))
print(num * 'Hello\n')