122k views
0 votes
Can you solve this challenging activity?

Can you solve this challenging activity?-example-1
User Khattab
by
7.0k points

1 Answer

0 votes

Answer: See below

Step-by-step explanation:

car_year = int(input("What year is your car? "))

if car_year <= 1969:

print("Few safety features.")

elif car_year >= 1970:

print("Probably has seat belts.")

elif car_year >= 1990:

print("Probably has antilock brakes.")

elif car_year >= 2000:

print("Probably has airbags.")

else:

print("Invalid input.")

User Maelstrom
by
6.8k points