app/site-content/proposals/2009/08/06/gcd.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 07 Aug 2009 03:56:08 +0530
changeset 16 bed14c9685a5
parent 8 294ff7ac9cb6
permissions -rwxr-xr-x
Project model changes.

def gcd(a, b):
  if a % b == 0:
    return b
  return gcd(b, a %b)

print gcd (10, 20)