πŸ“Š Python
Q. What is the output of the following?
def to_upper(k):
return k.upper()
x = ['ab', 'cd']
print(list(map(to_upper, x)))
  • (A) [„ABβ€Ÿ, „CDβ€Ÿ].
  • (B) [„abβ€Ÿ, „cdβ€Ÿ].
  • (C) none of the mentioned
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (A) [„ABβ€Ÿ, „CDβ€Ÿ].

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
172
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate