0

how can i def a func.that gives factorial

5th Nov 2019, 8:56 AM
Ravi Pratap
Ravi Pratap - avatar
2 Respostas
+ 3
For that you need a while loop.
5th Nov 2019, 9:58 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 2
You need to use a loop, but not necessarily a while loop. A for loop with range() is also suitable.
5th Nov 2019, 10:09 AM
Lothar
Lothar - avatar