Upper Lower Function In Python Example