Question: Question 31 In Spyder, write a Python program that will solve the following problem Name the program eggs.py. Achicken farmer wants to know how many
Question 31 In Spyder, write a Python program that will solve the following problem Name the program eggs.py. Achicken farmer wants to know how many egg cartons will be needed to package the eggs gathered from the chickens today. The farmer also wants to know how many extra eggs will be left over after all of the cartons are filled. Each carton holds 12 egg The program must perform these tasks: 1. Input with a prompt the number of eggs gathered and store it in a variable 2. calculate the number of cartons needed and store in a variable 3. Calculate the number of extra eggs that will be left over and store it in a variable 4. print (with meaningful text) the number of cartons and the number of extraeses You do not need to write comments. Upload your Python program (hle ending with .py)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
