Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for The Best Number Ever by Diego_Hernando_Useche_Reyes
"""
142857 is the best number because,
142857*2 = 285714
142857*3 = 428571
142857*4 = 571428
142857*5 = 714285
142857*6 = 857142
142857*2 = 999999
It moves the digits as a chain, is awesome
"""
def checkio():
return 142857
if __name__ == '__main__':
# These "asserts" using only for self-checking and not necessary for auto-testing
assert isinstance(checkio(), (int, float, complex))
Nov. 30, 2018
Comments: