Created by numworks-italia
Created on April 10, 2020
93 Bytes
Questo script contiene una funzione pgcd(a,b) restituisce il Massimo comun divisore di a e b.
def pgcd(a,b): while (b>0): reste=a%b a,b=b,reste return a