A

Admin • 833.24K Points
Coach

Q. Which function is used to find the absolute value of a number in Python?

  • (A) absolute()
  • (B) fabs()
  • (C) abs()
  • (D) mod()
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

The built-in abs() function returns the absolute value of a number.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.