4 ms·
Odd that it came up with pattern_start = 1 if half_digits == 1 else 10 ** (half_digits - 1) when 10 ** (half_digits - 1) is fine.
by justinsaccount 10mo ago
Odd that it came up with
pattern_start = 1 if half_digits == 1 else 10 ** (half_digits - 1)
when
10 ** (half_digits - 1)
is fine.