Inspiration
I am very much interested in mathematics. I just thought about how we can perform factorial in python.
What it does
In mathematics, factorial is an important function, which is used to determine how many ways things or the ordered set of numbers can be organized. The well-known interpolation function of the factorial function was discovered by Daniel Bernoulli. The factorial concept is used in many mathematical concepts such as probability, permutations, and combinations, series and series, etc. Basically, a factorial is a function that multiplies a number by any number less than 1.
How we built it
I have defined a function called factorial which will get the input. Once it gets the input, it will enter into the if else loop. It will check whether the input is equal to zero or not. If yes, it will return 1. If not, it will go into a loop until the value is equal to 0.
Challenges we ran into
I didn't face any challenged in replit platform because the steps explained are very clear.
Accomplishments that we're proud of
I just published a project in the community.
What we learned
I have learned about the replit platform and it's community.
What's next for GET CREATIVE WITH REPLIT
Need to write a python program to check a word is palindrome or not.
Log in or sign up for Devpost to join the conversation.