Build a calculator that reads a line such as 12 + 7, works it out and carries on asking, and that deals politely with every kind of bad input instead of crashing. It is a small program, and it pulls together loops, functions, dictionaries, strings and exceptions.
More lessons in Complete Python Programming