Refactor code in directories + add doc strings
This commit is contained in:
parent
0d9a636da6
commit
77c8973eb7
2 changed files with 23 additions and 3 deletions
|
|
@ -1,14 +0,0 @@
|
|||
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)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue