Computer Science, asked by chandu8468, 9 months ago

Print all multiples of 13 that are smaller than 100. Use the range function in the following manner : range (start, end, step) where ‘Start’ is the starting value of the counter, ‘end’ is the end value and ‘step’ is the amount by which the counter is increased each time.

Answers

Answered by rajharshita176
0

Answer:

13 26 39 52 65 78 91.............

Answered by mad210219
1

MULTIPLES

Explanation:

Multiples of 13 below 100 are  

13,26,39,52,65,78,91

So in order to print these using python  

We have to use of range function  

Range(start,end,step) is the syntax of range function

So  

We start from :

13 to print the first multiple of 13

And step by 13  

Next 26

Next 39

Next 52

Next 65

Next 78

Next 91 at last in range of 100

So  

The program  goes as:

for i in range(13,100,13):

     print(i,end=” ”)

Output:

13 26 39 52 65 78 91

 

Similar questions