1000 Python Questions
Get 1 Python question daily. Join this telegram channel
Advertise with us
Python Multiple Choice Questions
Is the output of the function abs() the same as that of the function math.fabs()?
D. none of the mentioned
Explanation: math.fabs() always returns a float and does not work with complex numbers whereas the return type of abs() is determined by the type of value that is passed to it.
Please subscribe to get the latest articles in your mailbox.
© 2021-2022 Python Circle