111k views
19 votes
10.13 lab 10c: output range with increment of 5 write a program whose input is two integers. output the first integer and subsequent increments of 5 as long as the value is less than or equal to the second integer. you may prompt for the two integers as you wish; the prompt will not be included in the grading. ex: if the input is:

1 Answer

9 votes

he program gives an output in increment of 5, if the first inputted integer is less than the second. The program written in python 3 goes thus

User Mapf
by
3.2k points