String Upper Function In Python With Parameters