Python Test 8 - Math

What is returned by math.ceil(3.4)?
What is the value returned by math.floor(3.4)?
What will be the output of print(math.copysign(3, -1))?
What is displayed on executing print(math.fabs(-3.4))?
Is the output of the function abs() the same as that of the function math.fabs()?
What is the value returned by math.fact(6)?
What is the value of x if x = math.factorial(0)?
What is math.factorial(4.0)?
What will be the output of print(math.factorial(4.5))?
What is math.floor(0o10)?
Schreibe einen Kommentar