In [1]:
2 + 2
Out[1]:
In [6]:
from __future__ import division
In [50]:
134 / 10
Out[50]:
Exercice 18
In [ ]:
81 ** (1/4)
94 % 10
In [56]:
94 // 10
Out[56]:
In [57]:
from math import factorial
In [17]:
factorial(4)
Out[17]:
In [23]:
from math import sin,pi,log,tan,atan
In [24]:
sin(pi/2)
Out[24]:
In [28]:
atan(1)/pi
Out[28]:
In [29]:
help(atan)
In [33]:
from sympy import simplify
In [35]:
simplify??
In [38]:
10 + (3 * 2)
Out[38]:
In [37]:
(10 + 3) * 2
Out[37]:
In [39]:
a = (10+3)* 2
In [40]:
a
Out[40]:
In [41]:
a+1
Out[41]:
In [42]:
b =34
In [43]:
a * b
Out[43]:
In [44]:
a = 90
In [45]:
a
Out[45]:
In [ ]: