+ 6
gcd = gcd(a,b) # this will shadow gcd() function so on next call it is 'with variable with braces' is not function call with parameters.. . Take different names for function and variable.
30th Sep 2022, 12:20 PM
Jayakrishna 🇼🇳
+ 3
I guess I would wrap the conditions in a while loop. Then I would create a control variable and you change its value depending if you want to repeat or not.
3rd Oct 2022, 10:08 AM
Maisu
Maisu - avatar
+ 1
Why do you import the gcd form math ? I though the challenge was to compute it by yourself.
3rd Oct 2022, 5:12 AM
Maisu
Maisu - avatar
+ 1
Actually, you want to find a way how to loop through your conditions ?
3rd Oct 2022, 5:15 AM
Maisu
Maisu - avatar