S = int(Pesel[0])*1+int(Pesel[1])*3+int(Pesel[2])*7+int(Pesel[3])*9+int(Pesel[4])*1+int(Pesel[5])*3+int(Pesel[6])*7+int(Pesel[7])*9+int(Pesel[8])*1+int(Pesel[9])*3
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!