Skip to content

Instantly share code, notes, and snippets.

Created December 21, 2017 18:45
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 anonymous/6583e51f7abe300ccdb3f85cf36e3fc0 to your computer and use it in GitHub Desktop.
Save anonymous/6583e51f7abe300ccdb3f85cf36e3fc0 to your computer and use it in GitHub Desktop.
Captcha pt.2 created by Raszu - https://repl.it/@Raszu/Captcha-pt2
c = input()
pol = int(len(c)/2)
solution = 0
for i in range(0 , pol):
if c[i] == c[pol+i]:
solution = solution + int(c[i])
print(solution*2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment