Beginner Python puzzles

I've started to learn a bit of Python recently.

The other day I found these little puzzles, which I've been doing in between learning the theory (sometimes you need a break to use your brain to do a bit of actual problem-solving).

They start so simple that I was able to pick them up with very little Python knowledge, and when I got stuck, I'd just go back to reading the theory until I covered the bit I was missing.

Highly recommended for anyone finding the teaching style of LPTHW a little on the dry side.