modular arithmetic course - challenge 2 - extended euclidean algorithm

This commit is contained in:
boyreau 2026-11-14 14:31:38 +01:00
commit 4b5f6c47ff
2 changed files with 23 additions and 0 deletions

View file

@ -10,6 +10,7 @@ from intro import (
)
from modular_arithmetic import (
gcd,
extended_gcd,
)
from public_key_cryptography import (
modular_exponentiation,
@ -55,4 +56,5 @@ if __name__ == "__main__":
# Modular arithmetic course challenge
print(gcd(66528, 52920))
print(extended_gcd(26513, 32321))
# fmt: on