Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Auto Painting by martin_b
def checkio(c, n):
c, r = min(c, n), []
for i in range(0, 2 * n, c):
r.append("".join([str(j % n) for j in range(i, min(2 * n, i + c))]))
return ",".join(r)
April 6, 2016
Comments: