Starting from flowcharts, I translated them into Python.
Flowcharts are made with Mermaid.js, you can check the text behind them by clicking on one of them.
Given a number, calculate and return the value of the Fibonacci number corresponding to the nth term of the sequence (fibonacci.py)
Given a number, returns its factorial only if the number is an Integer and is greater than 0 (factorial.py)
Given the values of the two sides of a right triangle, calculate its hypotenuse only if the two numbers are both Integer and greater than 0 (hypotenuse.py)
- Factorial
- Hypotenuse
- Fibonacci Succession
- Fibonacci's Golden Ratio Index
- Evaluating Prime Factorization of a Given Natural Number
- Correctly Expressing Square Roots of Numbers with Perfect Squares