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):
- Year must be > 2015
- Mileage must < 30000 miles
- Color: White, Black, Grey, are all fine
- Model: Truck or SUV
- 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started