Please tell me how is this wrong? - Python tip calculator .3 - the tip


#1



https://www.codecademy.com/courses/python-beginner-GB6hM/0/3?curriculum_id=4f89dab3d788890003000096#

" Oops,try again. It looks like tip is set to 0 instead of 0.15."

I think that " tip = 15/100 " is still a correct answer. But the error tell me that I should put " tip = 0.15 ". Is there a difference between those two?


meal = 44.50
tax = 0.0675
tip = 15/100


#2

Yes, and no. The lesson checker is looking at our code, not the output. Just go along with it and all will be well.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.