Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write this with python. thanks! cue Submit t r st Console Shell Markdown Preview of README.md step1: takes 12 values from the users as their

image text in transcribed
write this with python. thanks!
cue Submit t r st Console Shell Markdown Preview of README.md step1: takes 12 values from the users as their past 12 months electricity bills. Add these values to a list called Electricity_bill. (Hint: do not use loops... becasue your groupmates might not know how to use loops). do the same thing for the past 12 months of gas/water bills and call the list GasWater_bill. Step 2: calcualte the total utility of the past 12 months. (Hint: assign the total utility values to a new list and call it total_utility). Then, calculate the average utility per month. Step 3: Find and print the maximum and minimum amount for the electricity bill Step 4: find and print the months in which electricity bills were minimum and maximum. Step 5: using one line of code, find the unique values of total_utility list and print the unique values. (Hint: use set() function and pass total_utility to it.) ue RA A +

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

3. Provide advice on how to help a plateaued employee.

Answered: 1 week ago