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
Template 4 Students OK
Hong-Phuc Bui
2024-05-15
7f5f315ce79b213b153684910c20654039a91369
[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
)