wip wip wip

This commit is contained in:
Thibaud Gasser 2019-12-16 22:05:07 +01:00
parent d441db73e5
commit 953c372998

View File

@ -8,7 +8,7 @@ logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.DEBUG)
def get_nth_digit(n, number):
"Returns the nth digit of the input number"
return number // n ** 10 % 10
return number // 10 ** n % 10
class Operation(Enum):