6. elif

1minutos = 1000
2if minutos < 200:
3    precio = 0.2
4elif minutos <= 400:
5    precio = 0.18
6elif minutos <= 800:
7    precio = 0.15
8else:
9    precio = 0.08
10print("Cuenta telefonica : $%6.2f" % (minutos * precio))
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)

You have attempted 1 of 2 activities on this page