Odpowiedź:
a = int(input("podaj pierwszą liczbe"))
b = int(input("podaj drugą liczbe"))
a = int(input("podaj trzecią liczbę"))
b = int(input("podaj czwartą liczbę"))
a = int(input("podaj piątą liczbę"))
b = int(input("podaj szóstą liczbę"))
a = int(input("podaj Siódmą liczbę"))
b = int(input("podaj Ósmą liczbę"))
a = int(input("podaj diewiątą liczbę"))
b = int(input("podaj Dziesiątą liczbę"))
while a !=b:
if a > b:
a = a - b
else:
b = b - a
print("NWD =",a)
input("By Tu wpisz swoje imię ")
Wyjaśnienie:
Nie wiem czy o to chodziło ale masz Proszę o naj