Question: car _ year = int ( input ( Enter the car's manufacturing year: ) ) output = if car _ year

car_year = int(input("Enter the car's manufacturing year: "))
output =""
if car_year <=1969:
output += "Few safety features."
if car_year >=1970:
output += "probably has seat belts."
if car_year >=1990:
output += "probably has antilock brakes."
if car_year >=2020:
output += "probably has airbags."
print(output)

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!