0
How to solve tip calculator problem please suggest me I'm new in python beginners course
2 Réponses
+ 2
Go through the course and try to solve once again. In case of any doubts post your code here
+ 1
You'll find an explanation in the problem section. I'm rephrasing the explanation here.
If your bill is 50 and you want to tip 20% of that bill. To find out the tip you need to multiply the percentage with the bill like this:
>>50*(20/100) = 10.0
We do this because 20% means 20 out of 100.