develop #9

Merged
Fabel merged 16 commits from develop into main 2025-03-14 13:36:50 +00:00
1 changed files with 11 additions and 4 deletions
Showing only changes of commit d80c0d55f6 - Show all commits

View File

@ -1,7 +1,14 @@
from fabelous_math import is_even, is_odd, rooting, approximate_pi from fabelous_math import is_even, is_odd, rooting, approximate_pi
print(approximate_pi(10000000)) number = 42
print(f"Is {number} even? {is_even(number)}")
print(f"Is {number} odd? {is_odd(number)}")
print(rooting(0.5)) # Extended feature for rooting with a specified root
print(is_even(5)) root = 4
print(is_odd(19)) number = 16
print(f"Rooting {number} to the power of {root}: {rooting(number, root)}")
# Extended feature for approximate_pi with additional parameters if needed
precision = 10000000
print(f"Approximate Pi with precision {precision}: {approximate_pi(precision)}")