Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple solution in Clear category for Auto Painting by Pouf
def checkio(c, n):
c = min(c, n)
order = ''.join(map(str, range(n))) * 2
return ','.join(order[i:][:c] for i in range(0, n*2, c))
March 13, 2016
Comments: