Skip to content

Commit bba0c36

Browse files
committed
remove str input
1 parent aa8379b commit bba0c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/number_of_digits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def benchmark_a_function(func: Callable, value: int) -> None:
100100
timing = timeit(f"__main__.{call}", setup="import __main__")
101101
print(f"{call}: {func(value)} -- {timing} seconds")
102102

103-
for value in ('262144', 1125899906842624, 1267650600228229401496703205376):
103+
for value in (262144, 1125899906842624, 1267650600228229401496703205376):
104104
for func in (num_digits, num_digits_fast, num_digits_faster):
105105
benchmark_a_function(func, value)
106106
print()

0 commit comments

Comments
 (0)