A. if s < 3: pay = 10 elif 3 <= s < 15: pay = 10 + (s - 3) * 2 else: pay = 34 + (s - 15) * 3 | B. pay = 10 if 3 <= s < 15: pay = 10 + (s - 3) * 2 else: pay = 34 + (s - 15) * 3 |
C. pay = 10 if s >= 3: pay = pay + (s - 3) * 2 if s >= 15: pay = pay + s - 15 | D. pay = 10 if s >= 3: pay = pay + (s - 3) * 2 elif s >= 15: pay = pay + s - 15 |