[Solved] Need help for checksum on python

[ad_1]

here you go :

s = "test"
chk = reduce(lambda a,b : a^b, [ord(c) for c in s])

print "Checksum : ", chk, " \n"
sh-4.3$ python main.py                                                                                         
Checksum :  22  

0

[ad_2]

solved Need help for checksum on python