+ 1

Python Tip Calculator

Still fairly new to learning Python and find myself stuck on the tip calculator project. The project is to find 20% of 50. I’ve attempted it several times, but I’m not sure if I’m missing something or thinking too hard about it. Original code: bill = int(input())

6th Oct 2021, 5:04 PM
Alexis
3 Réponses
+ 3
Please post your code on the code playground and link it here. That way people can take a look and see what's going on.
6th Oct 2021, 5:14 PM
Simon Sauter
Simon Sauter - avatar
+ 1
print(20/100)*50
7th Oct 2021, 9:34 AM
Sayyam Jain
Sayyam Jain - avatar
0
If you do example 200/5 (wich is 40 ) will eaquls 20% Hope this helps you out
6th Oct 2021, 5:33 PM
Lz1234