Live quiz

python-programing - Part 50

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following Python code? def to_upper(k): return k.upper() x = ['ab', 'cd'] print(list(map(to_upper, x)))

  • A
  • B
  • C
  • D