Skip to content

Commit

Permalink
p32
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuefeng-Zhu committed Jul 5, 2014
1 parent 8f0791f commit bc1a490
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 32-gcf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def Division(num1,num2):
while num2 != 0:
num1, num2 = num2, num1%num2
return num1

# keep this function call here
# to see how to enter arguments in Python scroll down
print Division(raw_input())

0 comments on commit bc1a490

Please sign in to comment.