Question: ( Loops ) Write a for loop that prints the numbers from 0 to 1 0 0 by 3 ' s . ; then by

(Loops)
Write a for loop that prints the numbers from 0 to 100 by 3's.; then by 5s
Rewrite "for" loop below as a "while" loop where the variable number is a positive
integer received as input.
number = int (input ("Enter an integer"))
for i in range (0, number):
if i2=0 :
print (i)
Write a while loop that counts to 0 down from an user inputted number.
Rewrite #2 as a for loop.
Write a for loop that prints all even numbers up to 100
Rewrite #4 as a while loop.
Write a while loop that prints every 3rd number up to an user inputted number.
Write a while loop that prints the numbers from a user-specified starting value to a
user-specified ending value in steps also specified by the user.
(Does your algorithm work if the end value is less than the start value?)
Try to rewrite #7 as a for loop
 (Loops) Write a for loop that prints the numbers from 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!