Question: Write a while loop that prints all positive numbers that are divisible by 1 0 and less than a given number n . For example,

Write a while loop that prints all positive numbers that are divisible by 10 and less than a given number n. For example, if n is 100, print 102030405060708090, one value per line. In Python.
Input 39 and stops at 30. Input 101 and stops after output 100
n=(input())
n=100
new =10
while new n :
print(new)
new = new +10
 Write a while loop that prints all positive numbers that are

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!