9
DanBoxall
1 7 19
399/ 445
Dan Boxall
Last seen 3 years ago
Member for 9 years, 6 months, 1 day
Difficulty Normal
Best reviews / Newest reviews
shamefully copied from forum-DanBoxall
As the title suggests, I have copied this from the forum. This is because I cannot for the life of me work it out. I can do it if I know there are only 2 variables: for i in reversed(range(min(a,b))): if a%i == 0 and b%i == 0: gcd = i However, when I don't know how many variables there More