Question: Lab 7.5 -Programming Challenge1 Going Green Write the Flowchart, and Python code for the follorwing programming problem based on the pseudocode below. Last year, local

 Lab 7.5 -Programming Challenge1 Going Green Write the Flowchart, and Pythoncode for the follorwing programming problem based on the pseudocode below. Lastyear, local college implemented rooftop gardens as a way to promote energyefficiency and save money. Write program that vill 11or the user to

Lab 7.5 -Programming Challenge1 Going Green Write the Flowchart, and Python code for the follorwing programming problem based on the pseudocode below. Last year, local college implemented rooftop gardens as a way to promote energy efficiency and save money. Write program that vill 11or the user to enter the energy from January to Next, 11or the user to enter the energy bills from January to Decenber of the past ve progra ears and display the tro years rorth of data, along with the savings December for the year prior to gong green. ar after going green energy differe The nce from the tro ran should calculate the Hints: Create taree arays of size 12 each The first array will store the first year of energy costs, the second array will store the second year after going green, and the third array will store the difference. Also, create a string array that stores the month names. These variables might be defined as follows: savings= [0] * 12 months= ['January', 'February', 'March', 'April, June July"Augusteptember'October November' 'May', December'] Your sample output might look as follows: Enter NOT GREEN energy costs for January Enter nor --789 Enter NOT GREEN energy costs for February Enter nor --790 Enter NOT GREEN energy costs for Karch Enter nor --890 Enter NOT GREEN energy costs for April Enter nor --773 Enter NOT GREEN energy costs for May Enter nor --723 Enter NOT GREEN energy costs for June Enter nor --759 Enter NOT GREEN energy costs for July Enter nor --690 Enter NOT GREEN energy costs for August Enter nor --+681 Enter NOT GREEN energy costs for September Enter nor --782 Enter NOT GREEN energy costs for October Enter nor --791 Enter NOT GREEN energy costs for November

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!