string

PythonF

Toggle case (String)

Toggle case: Given a String S as input, the program must toggle the case of each alphabet. Boundary Condition(s):1 <= Length of S <= 100…