Question: please help me with this problem Write multiple if statements: If car_year is before 1967, print Probably has few safety features. (Without quotes). If after




Write multiple if statements: If car_year is before 1967, print "Probably has few safety features." (Without quotes). If after 1970, print "Probably has head rests." If after 1992, print "Probably has electronic stability control." If after 2000, 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 head rests. Probably has electronic stability control. return ; 3: Compare output Input Your output 4: Compare output Eile"main.py",line4intmain()( Output differs. See highlights below. Input Your output Expected output 5: Compare output File "main.py", line 4 int main() f SyntaxError: invalid syntax Output differs. See highlights below. Input Your output Expected output 6: Compare output File "main.py", line 4 int main() f Syntaxerror: invalid syntax Output differs. See highlights below. Input Your output Expectedoutput Probably has head rests. Probably has electronic stability control. 8: Compare output File "main.py", line 4 int main() f Syntaxerror: invalid syntax Output differs. See highlights below. Input Your output Expectedoutput Probably has electronic stability control. Probably has airbags
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
