Tip calculator | Sololearn: Learn to code for FREE!

-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!

4/6/2022 4:29:14 PM

Austin Lindquist

24 Answers

New Answer

+2

Revise the lessons, then do task. If you need help, please link your code so we can see what you've tried.

+2

Seriously, take 5min and read the first lessons again – don't guess. output() = tip Doesn't make any sense.

+2

It is so easy(: Bill = int(input()) Tip = float(Bill*0.2) Print(tip)

+2

Habtamu Geremew Your code has several typos in variable and function names. The float() isn't necessary.

+2

bill = int(input()) tip = bill*20/100 print(tip)

+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

You can cut that in half bill = int(input()) print (bill/5)

+1

If you've forgotten, just take the lesson again. But make sure u jot this time.

0

Simba tried something else as in languages? Or just different formulas? Lisa sounds good, was thinking of doing that. Thank you! Will do.

0

When you don't show us your code, we can't tell you what to try else. 👉 LINK YOUR CODE

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

bill = int(input()) #your code goes here tip= bill*0.2 print(tip)

0