write a python program for importing sqrt() and factorial from the module math

preview_player
Показать описание
Code - please like share and subscribe to channel
===============================================
from math import sqrt, factorial

n = int(input("Enter a Number : "))

print(f"Sqrt of {n} is {sqrt(n) : .2f}")
print(f"Factorial of {n} is {factorial(n)}")
Рекомендации по теме
join shbcf.ru