Spiral Program In Python Example