Question:This is the link to the problem and I’ve given my code below, I know its right but the google code jam shows that my code gives wrong answer.
This is my code :
Answer:This is a possible solution:
B.strip('0')because there could be some leading zeros. Also, don’t forget to print
"Case #x: "before your A and B numbers.
If you have better answer, please add a comment about this, thank you!