Create valid ISBN-10 and ISBN-13 numbers for testing, development, or educational purposes.
An ISBN (International Standard Book Number) uniquely identifies books and book-like products. The structure differs between ISBN-10 and ISBN-13 formats:
The check digit ensures the ISBN's validity and is calculated using a specific algorithm. For ISBN-10, the check digit can be 0-9 or 'X' (representing 10). For ISBN-13, it's always 0-9.