Q84
What will be the output of the following Python code? x = ['ab', 'cd'] for i in x: x.append(i.upper()) print(x)
A.
['AB', 'CD']
B.
['ab', 'cd', 'AB', 'CD']
C.
['ab', 'cd']
D.
none of the mentioned
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board