0

how do i repeat a function

I need to know how to repeat a function a number of times, so I can input a number and the function repeats that many times.

28th Oct 2020, 6:16 PM
JasonKunda
JasonKunda - avatar
1 Respuesta
+ 8
call the function inside a loopike for i in range(5): functionName() It will repeat 5 times
28th Oct 2020, 6:21 PM
Abhay
Abhay - avatar