Computer Science, asked by mjfaiez, 11 months ago

Write a python program to display the first 4 multiples of a number using recursion​

Answers

Answered by queensp73
8

Answer:

def mul_table(n, i=1):

   print (n*i)

   if i != 10:.

       mul_table(n,i+1)

mul_table(5)

OUTPUT:

5

10

15

20

25

30

35

40

45

50

Explanation:

hope it helps u

:)

>>>>THANK U<<<<

Similar questions