You are given a string and your task is to swap cases. In other words, convert all lowercase letters to uppercase letters and vice versa. ( programming language =python)
I have written the program using PYTHON PROGRAMMING LANGUAGE.
OUTPUT :
CODE :
InputString = input("Enter a String : \t")
print("INPUT : "+InputString)
print("\n\nOUTPUT : "+InputString.swapcase())
Thanks..
Get Answers For Free
Most questions answered within 1 hours.