logo

Crowdly

What will be the output of the following Python code? x = ['ab', 'cd'] for i...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What will be the output of the following Python code?

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

More questions like this

Want instant access to all verified answers on moodle.ulsachihuahua.edu.mx?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!