Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
generator solution in Clear category for Champernowne Word by kdim
def counting_series(n: int) -> int:
def barbier(k=0):
while True:
k += 1
yield from map(int, str(k))
number = barbier()
while n > 0:
n -= 1
next(number)
return next(number)
March 10, 2024
Comments: