Write another python program that generates exactly the


1) Write a Python program that uses a for loop and the range function to output the numbers from 5 up to 100 by fives exactly as shown (all numbers all on the same line, separated by a single space). Output "That's that!" (note apostrophe) on new line to end the program as shown below.

Sample Run

5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100

That's that!

2) Write another Python program that generates exactly the same output as the program above, but by using a while loop.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Write another python program that generates exactly the
Reference No:- TGS01691850

Now Priced at $20 (50% Discount)

Recommended (98%)

Rated (4.3/5)