1234567891011121314 |
- from SoSe24.algodat.foundation import AlgoDatValue
-
-
- def euklid_ggt(x, y):
- while x > 0:
- if x < y:
- (x, y) = (y, x)
- x -= y
- return y
-
-
- if __name__ == "__main__":
- print(euklid_ggt(AlgoDatValue(12), AlgoDatValue(8)))
- AlgoDatValue.summary()
|