I have to change the code to get it right


#1

I tried to follow the instructions but I always receive a erra if I tried to set the code like this

Atribua um valor a variavel total na linha 8!

meal = 44.50
tax = 0.0675
tip = 0.15

meal = meal + meal * tax
total = 44.50 + 44.50 * 0.15

print("%.2f" % total)

Had to change to

Atribua um valor a variavel total na linha 8!

meal = 44.50
tax = 0.0675
tip = 0.15

meal = meal + meal * tax
total = 44.50 + 67.56 * 0.15

print("%.2f" % total)

Anyone knows why ?