from __future__ import division, print_function 13.14 + 1.2 14.34 - 1.2 6 * 9 54 / 9 53 / 0 2 ** 8 5 ^ 3 256 ** (1 / 8) 94 % 10 94 // 10 acos atanh e factorial hypot log10 sin acosh ceil erf floor isinf log1p sinh asin copysign erfc fmod isnan modf sqrt asinh cos exp frexp ldexp pi tan atan cosh expm1 fsum lgamma pow tanh atan2 degrees fabs gamma log radians trunc from math import factorial factorial(4) import math math.factorial(4) from math import sin, cos, tan, pi from math import * sin(90) sin(pi/2) pi from math import degrees, radians degrees(pi) radians(180) from math import sqrt sqrt(100) from math import sqrt (- 7 + sqrt(7**2 - 4 * 3 * 2) ) / (2 * 3) (- 7 - sqrt(7**2 - 4 * 3 * 2) ) / (2 * 3) from math import hypot help(hypot) ?hypot hypot? 3 * (5 + 2) # l'addition est calculée en premier (3 * 5) + 2 # la multiplication est calculée en premier 3 * 5 + 2 # la multiplication est calculée en premier 3 * 1234567**4 + 7 * 1234567**3 - 3 * 123467**2 + 1234567 - 5 x = 1234567 x x + 1 3*x**4 + 7*x**3 - 3*x**2 + x - 5 x = 10 3*x**4 + 7*x**3 - 3*x**2 + x - 5 5 * 9 == 40 + 5 5 * 9 == 40 + 6 5 * 9 < 1000 1 + 2 + 3 + 4 + 5 >= 15 2016 != 2016