- The first item's(5195) largest and smallest values are 9 and 1, and their difference is 8.
- The second item's(753) largest and smallest values are 7 and 3, and their difference is 4.
- The third item's(2468) difference is 6.
print puzList
checksum=0
print puzList
for i in puzList:
newList=[]
for j in i:
newList.append(int(j)) #newList=[1,3,6,4] in the first iteration
checksum+=max(newList)-min(newList)
print checksum # output for the given input(puzzleInput)==>1311