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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
195
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Parvesh Kanani
Publisher
πŸ“ˆ
89%
Success Rate