Bonsoir,

je débute en python (après m'être arrêté au turbo pascal il y a environ 15 ans ) et en bidouillant un peu, je tombe sur un résultat étrange de la fonction max()

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
>>> max ( 1 , 1.5 )
1.5
>>> max ( 1 , 1.1 )
1.1000000000000001
c'est un peu embêtant...

j'utilise mal la fonction ??? c'est un bug connu ??