- 3
Tip calculator
Hey y’all, so i started using this app last summer and came back today where I left off. I’ve clearly forgetting what I’ve learned. I’m currently stuck trying to figure out how to complete the “Tip Calculator” project using Python. Are there any tips or help y’all can provide? Thanks in advance!
24 Answers
+ 4
Revise the lessons, then do task. If you need help, please link your code so we can see what you've tried.
+ 4
bill = int(input())
tip = bill*20/100
print(tip)
+ 3
Seriously, take 5min and read the first lessons again – don't guess.
output() = tip
Doesn't make any sense.
+ 3
It is so easy(:
Bill = int(input())
Tip = float(Bill*0.2)
Print(tip)
+ 3
Habtamu Geremew
Your code has several typos in variable and function names. The float() isn't necessary.
+ 2
When you don't show us your code, we can't tell you what to try else.
👉 LINK YOUR CODE
+ 2
You can cut that in half
bill = int(input())
print (bill/5)
+ 2
I think you should go over your lessons again then if you have any other issue, link your code so we can check it out
+ 1
Hint you got to do print not output
+ 1
bill = int(input())
#your code goes here
tip= bill*0.2
print(tip)
+ 1
If you've forgotten, just take the lesson again. But make sure u jot this time.
0
https://code.sololearn.com/cMo0cgHNpC3f/?ref=app
Lisa heres one of the things i tried using
0
Remove line 2, output the resulting tip
0
https://code.sololearn.com/cMo0cgHNpC3f/?ref=app
Lisa is this closer to the right direction?
0
Fixed it. Thanks.
0
Great that you could solve it! :)
0
Infeed! And yes, funny what a little review and thought can do for oneself. :) XD
0
Lz1234 awesome, thank you! I appreciate that
0
Hello