Question: please help i am so confused with equations on python Please help your government by writing a program that will ask for the number of
Please help your government by writing a program that will ask for the number of pints to convert, and then show how many gallons, quarts, and pints that is. Assume all values are integers, so you will use the integer divide operator (I). You will also need the remainder operator (%). The result should look like this (notice the new line and the indent/tab): "How many pints of milk to you have?" 77 77 pints 9 gallon(s). 2 quart(s), and 1 pint(s). Also tell me what percent of the pints became gallons, quarts, and pints. Show me the results to 3 decimal places, Print: Of the 77 pints: 93.506% of the pints became gallons, 5.195% became quarts, and 1.299% stayed as pints
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
