Python TIP calculator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Python TIP calculator

bill = int(input()) #your code goes here tip = bill * 0.2 print(tip) Its okay? Cant find solution like this 🙈

27th Oct 2021, 7:00 PM
Kacper Troscianka
3 Answers
+ 3
Often there is more than one solution :)
27th Oct 2021, 7:12 PM
Lisa
Lisa - avatar
+ 1
Looks okay. Or do you get any error messages? Just run your code on playground to test it!
27th Oct 2021, 7:08 PM
Lisa
Lisa - avatar
0
No, work good, but have seen few solution here for this problem and cant find solution like this
27th Oct 2021, 7:10 PM
Kacper Troscianka