+ 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?
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