Questions tagged [isbn]

The International Standard Book Number is an ISO standardized identifier for books. It consists of 10 or 13 digits (including 'X'), of which the last is a check character.

ISBNs are assigned by publishers to identify books across systems.

131 questions
-1
votes
1 answer

what's the error in my isbn checker?

import java.util.Scanner; // declare variables public class ISBNChecker { public static void main(String [] args) { Scanner keyboard = new Scanner(System.in); System.out.println("Please enter a 13 digit book number:"); String book =…
-1
votes
1 answer

Html Pattern to validate ISBN bot 10 and 13 digit (regular expression)

hey am new so i dont have any idea how to validate isbn in html input type=""text" for both 13 and 10 digit isbn pls help me ... Blockquote
Adi King
  • 25
  • 1
  • 9
-1
votes
2 answers

How can I get the author and title by knowing the ISBN using Google Book API?

isbntools provides several useful methods and functions to validate, clean, transform, hyphenate and get metadata for ISBN strings. isbntools documentation show how to get meta-data using Google Books: $ isbn_meta ISBN goob But that is an example…
Eduard Florinescu
  • 16,747
  • 28
  • 113
  • 179
-1
votes
4 answers

Digit 1 is not defined? (ISBN Calculator - Python)

mainmenu = input("Welcome to my ISBN calculator, please select an option\n\ 1. Load ISBN Calculator\n\ 2. Exit Program\n\ ") (mainmenu) if mainmenu == ("2"): print ("The ISBN Calculator will now close, thank you for using!") …
-1
votes
1 answer

Python Attribute error with ISBN program

I've just fixed my ISBN checkdigit code to be a bit more efficient, but now it's coming back with an attribute error: AttributeError: 'int' object has no attribute 'append' Here's the code: isbn = 0 result = 0 results = 0 print("Please input your…
-2
votes
1 answer

ISBN Checker- No Loops

I'm trying to make a ISBN checker but it's not working. An example would be the user inputs 013601267 and return 0136012671. I'm not understanding what the problem is. No loops. Any help would be great. import java.util.*; public class ISBN{ public…
Tillix
  • 1
  • 1
-2
votes
2 answers

Strip whitespace and update value BEFORE validation rule

I have an ISBN lookup. It has to be 10 characters. I have a custom validation rule to check that. But a lot of my customers are copying and pasting and when they do they tend to get an extra space at beginning or end. So I want to check for…
swg1cor14
  • 1,682
  • 6
  • 25
  • 46
-2
votes
1 answer

Read data from ISBN API and save in php

can someone help me how to use ISBN api in php with XML or json to read book details that can be later saved in php variables. Thank you.
Amrin R
  • 11
  • 4
-3
votes
2 answers

JAVA ISBN-10 Number: Find 10th digit

Question : An ISBN-10 consists of 10 digits: d1,d2,d3,d4,d5,d6,d7,d8,d9,d10. The last digit, d10, is a checksum,which is calculated from the other nine digits using the following formula: (d1 * 1 + d2 * 2 + d3 * 3 + d4 * 4 + d5 * 5 + d6 * 6 + d7 *…
Shiv Patel
  • 23
  • 1
  • 2
  • 4
-3
votes
3 answers

ISBN accept numbers only (python)

I have created a code with the help of a few user on stackoverflow. I have found a problem in my code. The problem with my code is that when the user enters the ISBN wrong more than twice then it code up with an error here's my code: isbn=…
HelpingHand
  • 11
  • 1
  • 8
-4
votes
2 answers

ISBN check digit solver, user feedback

I am making an ISBN program to solve the check digit and I want to make it so that when the program finds the check digit for you it opens a new string saying "would you like to close the program or not", which I have already done so. If they…
Jihad Bakkali
  • 35
  • 1
  • 5
1 2 3
8
9