1.

What is the output of the following? x = ['ab', 'cd'] for i in x: i.upper() print(x)

A. [‘ab’, ‘cd’].
B. [‘AB’, ‘CD’].
C. [None, None].
D. none of the mentioned
Answer» B. [‘AB’, ‘CD’].


Discussion

No Comment Found