I want to calculate checksum of a string of hexadecimal values such as 040102
answer will 7
in this case and more complex as 0a0110000a3f800000
its answer will be AE
.
I found an online link that gives me answer i want but i need to write code for same in python but not getting the output i want.
Please help Thank you in advance