More fun with Python