Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
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.
1 Antwort
+ 8
call the function inside a loopike
for i in range(5):
functionName()
It will repeat 5 times