M

Manisha Agrawal • 9.34K Points
Tutor III

Q. Write the output of the following:

Code:
St="Amit"
for i in St:
   St.swapcase()
print(St)
  • (A) Amit
  • (B) aMIT
  • (C) aMiT
  • (D) AMit
  • Correct Answer - Option(A)
  • Views: 113
  • Filed under category Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics