Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Ghosts Age by a.a.v.worker
def checkio(opacity):
fib = [0,1]
a,b = 0,1
while b < 4000:
a,b = b,a+b
fib.append(b)
age = 0
while opacity != 10000:
age += 1
if age in fib: opacity += age
else: opacity -= 1
return age
Aug. 18, 2015
Comments: