Question: Write multiple if statements: If car_year is before 1967, print Probably has few safety features. (Without quotes). If after 1969, print Probably has seat belts.

Write multiple if statements:

If car_year is before 1967, print "Probably has few safety features." (Without quotes). If after 1969, print "Probably has seat belts." If after 1992, print "Probably has electronic stability control." If after 2001, print "Probably has tire-pressure monitor." End each phrase with a period and newline. Remember that print() automatically adds a new line. Ex: car_year = 1995 prints: Probably has seat belts. Probably has electronic stability control.

Step by Step Solution

3.36 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

mainpy 1 caryear intinputEnter the cars manufacturing year 00 JO UTBUON F 2 3 if caryear 1967 prin... View full answer

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 Programming Questions!