Add files via upload

This commit is contained in:
Crizomb 2023-08-02 00:39:13 +02:00 committed by GitHub
parent a7461088cd
commit 7e1ff3b6b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 565 additions and 0 deletions

14
python_symb/tools.py Normal file
View file

@ -0,0 +1,14 @@
from __future__ import annotations
from typing import *
def gcd(a, b):
if b > a:
return gcd(b, a)
if b == 0:
return a
return gcd(b, a % b)