Skip to content

Instantly share code, notes, and snippets.

@LuanDevecchi
Created March 26, 2018 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuanDevecchi/465e37385f9a6699366e5c13ade80ae6 to your computer and use it in GitHub Desktop.
Save LuanDevecchi/465e37385f9a6699366e5c13ade80ae6 to your computer and use it in GitHub Desktop.
https://rtn-team.cc/ Registration Challenge Solver
state = ()
n=400
i = 0
while n<1400:
if n%9==0:
if str(n) == str(n)[::-1]:
print(n)
i=n
state+= (i,)
n=n+1
a = sum(state)
print(a) # The final answer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment