Cody Bable

Generation

code to explanationSun, 16 Apr 2023

while y: x, y = y, x % y return x

The above code is called Euclidean algorithm. It finds the greatest common divisor of two numbers.

Want to kickstart your project?Use the new AI Studio to create your code