Question: in python please A packing company sells boxes that can be used to pack 12 books. If the number of books to be packed is

 in python please A packing company sells boxes that can be

in python please

A packing company sells boxes that can be used to pack 12 books. If the number of books to be packed is not a multiple of 12, then the remaining books require an additional box. For example, 24 books require 2 boxes. 28 books would require 3 boxes. Write a program that prompts the user to enter the number of books they need to pack using the following prompt: prompt = "Enter the number of books that need to be packed: " The program will then calculate and display the number of boxes required. Some examples of the output the program produces are shown below. You can assume that the user will always enter an integer value larger than 0 when prompted for the number of books that need to be packed. Hint: The math.ceil() function may be useful for this exercise. For example: Input Result 12 Enter the number of books that need to be packed: 12 1 box(es) is/are needed for packing 13 Enter the number of books that need to be packed: 13 2 box(es) is/are needed for packing Answer: (penalty regime: 0 %) Reset answer 1 prompt "Enter the number of books that need to be packed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!