Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- b = int(input())
- while b > 0:
- a, b = b, a % b
- print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement