A

Admin • 832.27K Points
Coach

Q. The output of this Python code would be

Code:
a = [‘mn’, ‘op’]
for i in a:
i.upper()
print(a)
  • (A) [‘MN’, ‘OP’]
  • (B) [None, None]
  • (C) [‘mn’, ‘op’]
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Python
  • Hashtags:

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.