Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Ghosts Age by htamas
def magic(opacity): ###
opacity -= 10006 ### #. .# ###
for i in range(524289): #boo - ####
if '11' not in bin(i): #######
opacity += 1 #######
if '01' not in bin(i): #####
opacity += 1 ###
if opacity >= -1: ##
yield opacity #
def checkio(opacity):
gen = magic(opacity)
return (next(gen), next(gen))[1]
Oct. 29, 2013
Comments: