« Mathématiques avec Python et Ruby/Nombres réels en Python » : différence entre les versions
Contenu supprimé Contenu ajouté
Ligne 49 :
===Nombres transcendants===
Deux nombres transcendants très connus sont ''e'' et <math>\pi</math>:
<source lang="python">
from math import *
print(e)
print(pi)
</source>
Voici une manière de calculer une valeur approchée du [[w:Nombre de Champernowne|nombre de Champernowne]] en ''Python'':
|