Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions