Skip to content

Instantly share code, notes, and snippets.

/Captcha pt.2.py
Created Dec 21, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.