Examveda
Examveda

What will be the output of the following Python code snippet?
print('Ab!2'.swapcase())

A. AB!@

B. ab12

C. aB!2

D. aB1@

Answer: Option C


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python