Phyton for beginner, 18 code project, tip calculator. Help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Phyton for beginner, 18 code project, tip calculator. Help

I only can solve test case 1, but idk what to do to answer test case 2, can someone help me?

7th Nov 2021, 4:36 PM
Ralral+Alt
Ralral+Alt - avatar
2 Answers
+ 4
(i) Accept bill amount as input (ii) Calculate tip (Tip is 20% of bill amount) (iii) Print tip Tip should be float type May be there is some error related to datatype Please share the code to find the error
7th Nov 2021, 5:03 PM
Neethu Nath
Neethu Nath - avatar