***************************************************************** Informations source n°746 (http://www.codeswall.info) ***************************************************************** Titre : PGCD Date : 28-02-2012 Description : Calcul du pgcd en python Etat : Ne contient pas d'erreurs. Lien : http://www.codeswall.info/s746 ***************************************************************** def pgcd(a, b): while a % b != 0: a, b = b, a % b return b Téléchargé depuis http://www.codeswall.info/s746