This blog is available for sale. More than 150 published articles. Please 'contact us' if interested.
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.
© 2022-2023 Python Circle