Challenge 8
📘
ISBN Checker
Your task is to create a function that takes in an ISBN code as a string (with or without the hyphens should be accepted - e.g. "978-1-108-70039-9" or "9781108700399") and returns a Boolean value, for whether the ISBN number is valid or not
Here is a YouTube video from someone explaining how to calculate an ISBN check digit. The process is very simple.
Examples:
978-1-108-70039-9 returns true
978-1-108-70039-8 returns false
Extension:
If the provided ISBN is invalid, output to the user a "did you mean?" message showing them what the correct check digit for that particular ISBN number they entered is