Vidyalelo
Python · Q95

MCQs for Python Strings: Exam

Programming · Python · question 95

Q95

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

A.
AB!@
B.
ab12
C.
aB!2
Answer
D.
aB1@

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board