Path: blob/master/Python core/Mathematical Analysis in Python.ipynb
3074 views
Kernel: Python 3
In [3]:
Out[3]:
234000.67
In [5]:
Out[5]:
-14
20
The abs() function returns the absolute (positive) value of the specified number
In [9]:
Out[9]:
89.9922
In [11]:
Out[11]:
1152921504606846976
In [1]:
In [14]:
Out[14]:
16.0
The math.ceil() method rounds a number upwards to its nearest integer, and the math.floor() method rounds a number downwards to its nearest integer, and returns the result
In [16]:
Out[16]:
5
4
In [18]:
Out[18]:
3.141592653589793
Math methods
In [ ]:
In [19]:
Out[19]:
10.0
In [21]:
Out[21]:
40320
In [24]:
Out[24]:
3.3219280948873626
In [25]:
Out[25]:
2980.9579870417283
In [ ]: