On the Literate Programs site, I was looking at the Python code for the GCD algorithm.
def gcd(a,b):
        """ the euclidean algorithm """
        while a:
                a, b = b%a, a
        return b
What is going on in the body? Expression evaluation? Is it a compressed form of another structure?
 
     
     
     
    