Day 5 challenge #1

Merged
thib8956 merged 3 commits from wip into master 2019-12-16 21:06:50 +00:00
Showing only changes of commit 953c372998 - Show all commits

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):