πŸ“Š Python
Q. Which function returns the absolute value of a number in Python?
  • (A) fabs()
  • (B) abs()
  • (C) absolute()
  • (D) math.abs()
πŸ’¬ Discuss
βœ… Correct Answer: (B) abs()

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

Explanation by: Rati Dubey
The built-in `abs()` function returns the absolute value of a number.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
41
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
97%
Success Rate