Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#Import math Library import math #find the the greatest common divisor of the two integers print (math.gcd(3, 6)) print (math.gcd(6, 12)) print (math.gcd(12, 36)) print (math.gcd(-12, -36)) print (math.gcd(5, 12)) print (math.gcd(10, 0)) print (math.gcd(0, 34)) print (math.gcd(0, 0))
3 6 12 12 1 10 34 0