Question: In python, Complete the function to change all lowercase letters in aString to uppercase letters and all uppercase letters to lowercase letters. Anything else remains

In python,

Complete the function to change all lowercase letters in aString to uppercase letters and all uppercase letters to lowercase letters. Anything else remains the same.

Example

Input: Hope you are all enjoying October

Return value: hOPE YOU ARE ALL ENJOYING oCTOBER

Input: i hope my caps lock does not get stuck on

Return value: I HOPE MY CAPS LOCK DOES NOT GET STUCK ON

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!