Why will my code not run a 5th test case?

前端 未结 0 1371
谎友^
谎友^ 2020-12-08 11:10

def luhn(creditCardNo): #reversing creditCardNo creditCardNo= creditCardNo[::-1] #digSum will store the sum required by the algo digSum, i=0,0 #the loop will fetch the digit

相关标签:
回答
  • 消灭零回复
提交回复
热议问题