True conditions and skipped tests

A courier calculates a delivery fee using the following Python code, where distance is a nonnegative distance in kilometres. Select every true statement about the chain.


Python
if distance < 4:
    fee = 3
elif distance < 11:
    fee = 6
else:
    fee = 9
Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Chained Decisions Questions: