dashboard
repositories
filestore
activity
search
login
python-kurs
/
example-projects-2024
example-projects-2024
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
update test
Hong-Phuc Bui
2024-06-17
689ada49c2f083fcb3a2eeafc2ac15954ed64eca
[python-kurs/example-projects-2024.git]
/
python-grundlage
/
euclid-gcd.py
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env python
import
sys
a
=
int
(
sys
.
argv
[
1
])
b
=
int
(
sys
.
argv
[
2
])
while
b
!=
0
:
t
=
b
b
=
a
%
b
a
=
t
print
(
a
)