Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Ghosts Age by tokiojapan55
def checkio(opacity):
opa,fibo,fibo2 = 10000,0,1
for age in range(5000):
opa -= age if age==fibo else -1
print(age, opa, fibo, fibo2)
if opa==opacity:
return age
while age>=fibo:
fibo,fibo2 = fibo2,fibo+fibo2
return 0
May 28, 2020
Comments: