Question: You are design a code to search used car for you. You want a car with following conditions (Using nested control flow): Year must be

You are design a code to search used car for you. You want a car with following conditions (Using nested control flow):

  1. Year must be > 2015
  2. Mileage must < 30000 miles
  3. Color: White, Black, Grey, are all fine
  4. Model: Truck or SUV
  5. Budget: 20000 - 30000

You code will ask dealer to type in these numbers, and your code will print out if this is the car that you are looking for.

Output example:

Please type in the car Year: 2017

Please type in the car mileage: 25000

Please type in the car color: blue

Please type in the car model: SUV

Please type in the car price: 28000

Sorry, this is not the car that I am looking for.

This is in PYTHON 3.8! Also please dont copy and paste from somewhere else, thank you!

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!