Professional Documents
Culture Documents
===============================
1. Mathematical Functions
2. Random Functions
3. Trignometric Functions
eg:
>>>
>>> print(abs(100-200))
100
>>> print(abs(12343-2393435))
2381092
>>>
eg:
eg:
eg:
eg:
>>>
>>> import math
>>> print(math.floor(10.5))
10
>>>
>>>
>>> import math
>>> print(math.floor(-100.15))
-101
>>>
>>> import math
>>> print(math.floor(math.pi))
3
>>>
>>>
>>>
>>>
eg:
eg:
eg:
eg:
>>> print(round(56.659,1))
56.7
>>>
>>>
>>>
>>> print(round(58.453454,3))
58.453
>>>
>>>
>>>
>>> print(round(345.46234,2))
345.46
>>>
>>>
>>> print(round(43.4523))
43
>>>
>>> print(round(43.5523))
44
>>>
eg: