This program asks the user for a non-negative integer and displays the value of n factorial (n!). I used conditionals and while loops that allowed the process of the factorial. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ09.py![]()
This program asks the user for a non-negative integer and displays the value of n factorial (n!). I used conditionals and while loops that allowed the process of the factorial. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ09.py![]()

Finally did it!!!! After a lot of tries, and with the help of Ken, I finally can use the factorial with BigIntegers. The first part that was make the program of factorials was very easy, the second part was to… Continue Reading →![]()

Finally did it!!!! After a lot of tries, and with the help of Ken, I finally can use the factorial with BigIntegers. The first part that was make the program of factorials was very easy, the second part was to… Continue Reading →![]()
The hard part of this things is figuring out the loop.
Thanks to a guy that sits next to me (can’t remember his name), I managed to do it.
Here is my code: https://github.com/VanessaBaeza17/Factorial-Calculator/blob/master/CODE
Thanks!

This was all about functions and loops, it was actually challenging for me this wsq09 but I got through it. First of all remember if you are creating a function and it is not a void RETURN something!! never forget that. Also remember when you start a loop give the variable the value so it… Read More #WSQ09![]()

This was all about functions and loops, it was actually challenging for me this wsq09 but I got through it. First of all remember if you are creating a function and it is not a void RETURN something!! never forget that. Also remember when you start a loop give the variable the value so it… Read More #WSQ09![]()

For this task, I made 2 codes, one was using recursion and the other one with a loop. Here are my codes: loop factorial recursive factorial For both codes I used the BigIntegerLibrary, it is complicated but the explanation is in… Continue Reading →![]()

So, I did WSQ09 a while ago, but I was busy with another ton of things, and I forgot to post it. I really enjoyed this assignment, I found it really cool. It is a factorial calculator. I actually don’t remember how hard it was for me because like I told you before, it was […]![]()

So, I did WSQ09 a while ago, but I was busy with another ton of things, and I forgot to post it. I really enjoyed this assignment, I found it really cool. It is a factorial calculator. I actually don’t remember how hard it was for me because like I told you before, it was […]![]()