« Back to profile of karam

    						fact  = lambda n: n * (n > 1 and fact(n - 1) or 1)
power = lambda x, n: x * (n > 1 and power(x, n - 1) or 1)
GCD   = lambda x, y: not x % y and y or GCD(y, x % y)    			         
Add comment
To add a comment, please : Login or Sign up
    karam
    Karam Kassem
  • New visitor?

    On setCode, you can save your codes, functions and classes, you can also share them with your friends, and track your favorite developer

    Join the SetCode community
  • Your language here :