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
25What 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
25Create a free account to access the full topic