Predict the outputExercise 4/7Elementary20 XP
Euclid's algorithm
Task
Without running the program, write exactly what it prints.
a = 48
b = 18
while b != 0:
a, b = b, a % b
print(a)
You need to know
Your answer
Put each printed line on its own line.
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.