Squares

Report a typo

What is the output of the following code?

for x in range(1, 5):
    print(x * x)

The options:

a)

0
1
4
9
16

b)

0
1
4
9
16
25

c)

1
4
9
16

d)

1
4
9
16
25
Select one option from the list
___

Create a free account to access the full topic