Here is part of my code:
sum1 = sum1 + (GTINList[each]*3) sum1 = sum1 + (GTINList[1]+GTINList[3]+GTINList[5]+GTINLIst[7]) remainder = sum1 % 10 if remainder == 0 : print ("Valid GTIN") else:
Aucun commentaire:
Enregistrer un commentaire