Question #312327

Using a while loop: Write a program to print integers 1-50 and their cubes.

Expert's answer

i = 0

while i < 50:
    i= i+1
    print((i*i*i), end = ' ')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS