What does the module "Math" mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does the module "Math" mean?

17th Apr 2022, 6:59 PM
Pablo PC
Pablo PC - avatar
2 Answers
+ 3
'Math' contains inbuilt functions like sum, max, min You can use these functions using this module 'Math' No need to create your own functions.
17th Apr 2022, 7:11 PM
A͢J
A͢J - avatar
+ 2
sorry to say, but using sum(), max() or min() in python does *not* require the math module. the math module contains : (https://docs.python.org/3/library/math.html#) - number-theoretic and representation functions - power and logarithmic functions - trigonometric functions - angular conversion - hyperbolic functions - special functions - some constants
18th Apr 2022, 10:22 AM
Lothar
Lothar - avatar