adplus-dvertising
frame-decoration

Question

What is the output of the following?
a = [0, 1, 2, 3]
for a[0] in a:
    print(a[0])

a.

0 1 2 3

b.

0 1 2 2

c.

3 3 3 3

d.

error

Posted under Python

Answer: (a).0 1 2 3

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following?

Similar Questions

Discover Related MCQs