Write a python script that prints the first 10 cube numbers (x**3), starting with x=1 and ending with x=10.
Answers
Answered by
4
Answer:
for i in range(1, 11):
i=i**3
print(i)
Explanation:
Answered by
1
The python script that prints the first 10 cube numbers (), starting with x=1 and ending with x=10 is:
cube_x = [ x ]
for number in range(1, 11):
cube =
cube_x.append(cube)
for cube in cube_x:
print(cube)
start x = 1 ; end x=10.
The output will come as:
Similar questions