Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use python k the user to enater the amount spent on food and Gas for each day of he week Count ind display the

image text in transcribedPlease use python
k the user to enater the amount spent on food and Gas for each day of he week Count ind display the number of days the user spent more than 20 dollars per day on food and more than 10 dollars/per day on gas Here ase mimie requirements The name of the file must be Module3Homework2.py Please note thet I have multiple test cases and your program must pass all test cases. Here is the sample input and output for one of the cases Ploase enter the amount spent on food on Monday :30 Please enter the amount spent on gas on Monday 20 Please enter the amount spent on food on Tuesday :10 Please enter the amount spent on gas on Tuesday :10 Please enter the amount spent on food on Wednesday 30 Please enter the amount spent on gas on Wednesday 40 Please enter the amount spent on food on Thursday 23 Please enter the amount spent on gas on Thursday 5 Please enter the amount spent on food on Friday 15 Please nter the amount spent on gss on Friday 4 Please enter the amount spent on food on Saturday :15 Please enter the amount spent on gas on Saturday 9 Please enter the amount spent on food on Sundsy 30 Please enter the amount spent on gas on Sunday :15 You spent more than 20 doilars per day on food in 4 days of the week. You spent more than 10 dolars per day on gas in 3 days of the week 0

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions