project-python3/lesson2.3_6.py
2025-12-15 14:14:30 +05:00

8 lines
125 B
Python

'''****** Задание ********
*НОД.
'''
a = int(input())
b = int(input())
while a != 0:
a, b = b % a, a
print(b)