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
test
Hong-Phuc Bui
2024-06-19
1cce8fe30a73f538ed63e88d7c09e18456d333b9
[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
)