Python for Kids 2 Errata

To err is human... to really foul things up requires a computer."

Well... except in these cases where it really was just a human causing the problem.

Errata as of Oct 2022 (first printing of the 2nd edition)

Chapter 1 - Ubuntu Install

The instructions for installing Python3.10 on Ubuntu (starting on page 7) may not work properly on newer versions of Ubuntu. If you see the following error...

...then you will need to run the following command first:

sudo add-apt-repository ppa:deadsnakes/ppa

(hit ENTER to confirm when you are prompted)

Then run the installation command as detailed on page 8:

sudo apt install python3.10 idle­python3.10

Chapter 1 - Saving your Python Programs

Current versions of IDLE have changed their menus to be more consistent with other programs. So on page 12 where it says...

File ▶ New Window

...it should read:

File ▶ New File


Chapter 3 - Multiplying Strings

The code at the bottom of page 30 (Chapter 3, "Multiplying Strings") is incorrect - it was supposed to use f-strings and include the variable name spaces inside the braces as below:

spaces = ' ' * 25
print(f'{spaces} 12 Butts Wynd')
print(f'{spaces} Twinklebottom Heath')
print(f'{spaces} West Snoring')
print()
print()
print('Dear Sir')
print()