from __future__ import division, print_function # Python 3 from sympy import init_printing init_printing(use_latex='mathjax',use_unicode=False) # Affichage des résultats for a in range(9): for a in [1,2,3,4]: for a in 'bonjour': for i in liste: # ligne d'en-tête ... from sympy import factor from sympy.abc import x factor(x**1-1) factor(x**2-1) factor(x**3-1) factor(x**4-1) factor(x**5-1) factor(x**6-1) factor(x**7-1) factor(x**8-1) factor(x**9-1) for k in range(1,12): from sympy import Eq for k in range(2, 10): a = 5 n = 5 n = 3 * n + 1 W = x + 1 sous_total = 0 sous_total = sous_total + 1 sous_total += 1 L = [134, 13614, 73467, 1451, 134, 88] s = 0 for a in L: s s = 0 for a in L: s sum(L) s = 'gaston' t = '' for lettre in s: t k = 1 for _ in range(10):