wip wip wip
This commit is contained in:
parent
d441db73e5
commit
953c372998
@ -8,7 +8,7 @@ logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.DEBUG)
|
|||||||
|
|
||||||
def get_nth_digit(n, number):
|
def get_nth_digit(n, number):
|
||||||
"Returns the nth digit of the input number"
|
"Returns the nth digit of the input number"
|
||||||
return number // n ** 10 % 10
|
return number // 10 ** n % 10
|
||||||
|
|
||||||
|
|
||||||
class Operation(Enum):
|
class Operation(Enum):
|
||||||
|
Loading…
Reference in New Issue
Block a user