Tutedude Assignment
Calculate factorial using a function
1.In this task we import the math module it's offer to perform the mathematical operation from basic arithmetic to advanced function. 2.Here i took the user input and using f"" string and math.factorial() function we printed result.
1.This task also based the math based function.
2.here we used try and exception function, this both blocks used for handling exception,
3.In this task i assigned the digit it's maybe float or int apart from that both variables , that will jump from try
function to exception function then that will print the value error result.
4.here i used math.sqrt() for square root,math.log() for Natural logarithm and math.sin() for sine of the number respectively.
Thank you