+ 6
Plz check my python code of finding the factorial of a no......i am not getting the correct answer
3 Answers
+ 5
It doesn't work, because, you only multiplied it by itself, so it's just giving you the square of the number
https://code.sololearn.com/cGVd1YtPgThj/?ref=app
+ 5
Thanks now I understood
+ 3
You could also do it using a factorial. I linked one showing how it works (with comments)šš¼
https://code.sololearn.com/cR5vZ2Im19DB/?ref=app