R

Ram Sharma • 193.86K Points
Coach

Q. Which of the following is correct output of this program?

Code:
1. x = [‘xy’, ‘yz’]
2. for i in a:
3. i.upper()
4. print(a)
  • (A) [‘xy’, ‘yz’]
  • (B) [‘XY’, ‘YZ’]
  • (C) [None, None]
  • (D) None of these
  • Correct Answer - Option(A)
  • Views: 129
  • 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