6. elif

1minutes = 1000
2if minutes < 200:
3    price = 0.2
4elif minutes <= 400:
5    price = 0.18
6elif minutes <= 800:
7    price = 0.15
8else:
9    price = 0.08
10print("Phone bill: $%6.2f" % (minutes * price))
line that just executed

next line to execute

Print output (drag lower right corner to resize)
Frames
Objects

Activity: CodeLens 6.1 (cl_l10_6_en)

You have attempted 1 of 2 activities on this page