Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
°˖✧◝(⁰▿⁰)◜✧˖° solution in Clear category for Feed Pigeons by vmiimu
def checkio(feed):
birds, n = [], 1
while feed:
birds = birds + n*[0]
n +=1
for i in range(len(birds)):
if feed:
birds[i] += 1
feed -= 1
else:
break
return len([b for b in birds if b])
Jan. 21, 2019
Comments: