Chapter 3: Problem 31
What is wrong with the following program? inputstr = input("Enter the number of quarters: ") quarters = int(inputStr) if inputstr. isdigitO: tota1 = total + puarters = \(0.25\) print ("Total; ", tota1) else : print "Input error.")
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.