← Code

Deeper Python in the console

One idea at a time, in the console: text, lists, dictionaries and errors, then a text adventure built from all of them, saved to a file.

Start1. Working with text

Working with text

Tidy, compare and cut up what people type.

1Working with textNot started

Lists and dictionaries

Keep many things in a list, and look things up by name in a dictionary.

2A bag that growsNot started
3A map of roomsNot started

Errors and the adventure

Catch mistakes with try and except, build a text adventure in milestones, then save it to a file.

Progress is saved in this browser only. Nothing is sent anywhere.

For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)