Jump to content

User contributions for 72.166.49.194

Results for 72.166.49.194 talk block log logs global block log filter log
Search for contributionsshowhide
⧼contribs-top⧽
⧼contribs-date⧽

2 December 2024

5 May 2023

25 November 2022

  • 18:4518:45, 25 November 2022 diff hist −1 International Mobile Equipment Identity Removed the 1 at the end of the example IMEI as that digit made it invalid, def checkIMEI(inStr): ... outVal = 0 ... for i in range(0, len(inStr)): if ((i%2) == 1): ... a = str(int(inStr[i])*2) ... if (len(a) > 1): ... a = (int(a[0])+int(a[1])) ... outVal = outVal + int(a) ... else: ... outVal = outVal + int(inStr[i]) ... return(outVal)