Open atilaneves opened 4 years ago
For instance, for std.numeric:
from std_numeric import decimal_to_factorial fac = [0] * 21 idx = decimal_to_factorial(2982, fac) assert idx == 7 assert fac[:idx] == [4, 0, 4, 1, 0, 0, 0] # fails
For instance, for std.numeric: