The test # 20 says:
When the user
enters 9781947172104,13,
you should see the message
Valid ISBN Code.
But this is not possible because
9781947172104,13
is an Invalid ISBN Code.
Websites like
and two more websites say
confirmed my assertion.
The test # 20 says:
When the user
enters 9781947172104,13,
you should see the message
Valid ISBN Code.
But this is not possible because
9781947172104,13
is an Invalid ISBN Code.
Websites like
and two more websites say
confirmed my assertion.
I just finished this section, and I struggled a lot with the last one too. I ended up looking at the ISBN checker website’s source code to figure out the answer. It’s written in JavaScript, but if you’ve done enough Python, you can start to see the similarities between the two. I had to spend a solid 30 minutes studying it before I finally figured out where I was going wrong in my own code.
instead of copying code, open a topic on the forum for human help