πŸ“Š Python
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) [‘xy’, ‘yz’]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
219
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate