Question: Python, what am I doing wrong? Write multiple if statements: If car_year is before 1967, print Probably has few safety features. (without quotes). If after

Python, what am I doing wrong?

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 1990, print "Probably has electronic stability control.". If after 2002, print "Probably has airbags.". End each phrase with period and newline. Remember that print() automatically adds a newline. Ex: car_year = 1995 prints:

Probably has seat belts. Probably has electronic stability control.Python, what am I doing wrong? Write multiple if statements: If car_yearis before 1967, print "Probably has few safety features." (without quotes). Ifafter 1969, print "Probably has seat belts.". If after 1990, print "Probably

has electronic stability control.". If after 2002, print "Probably has airbags.". End

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 1990, print "Probably has electronic stability control.". If after 2002 , print "Probably has airbags.". End each phrase with period and newline. Remember that print 0 automatically adds a newline. Ex: car_year =1995 prints: Probably has seat belts. Probably has electronic stability control. 1: Compare output File "main.py", line 5 print(Probably has few safety features.) SyntaxError: invalid syntax Output differs. See highlights below. input Expected output 2: Compare output Input Your output 3: Compare output Input Your output : Compare output File "main.py", line 5 print(Probably has few safety features.) Syntaxerror: invalid syntax Output differs. See highlights below. Input X Your output Expected output : Compare output File "main.py", line 5 print(Probably has few safety features.) Syntaxerror: invalid syntax Output differs. See highlights below. input x Your output grint (2xohably hag tav aatezy teatuzan-) SyntaxBradx 1nva11d ayntax Output differ. Sne hiphlignts te ov, lngut xy=uautputEvpactezautputProbablyhaagaztBazta.Exobablyhasalect=an1oatab111tycontaol. T: Campare Dutput A G: Cartpare Dutput A

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!