Ask Question

Write multiple if statements. if caryear is 1969 or earlier, print "probably has few safety features." if 1970 or higher, print "probably has seat belts." if 1990 or higher, print "probably has anti-lock brakes." if 2000 or higher, print "probably has air bags." end each phrase with period and newline. ex: caryear = 1995 prints:

+1
Answers (1)
  1. 6 July, 09:15
    0
    If (caryear > = 2000):

    print "probably has air bags./n"

    elif (caryear > = 1990):

    print "probably has anti-lock brakes./n"

    elif (caryear > = 1970):

    print "probably has seat belts./n"

    else:

    print "probably has few safety features./n"
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write multiple if statements. if caryear is 1969 or earlier, print "probably has few safety features." if 1970 or higher, print "probably ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers