+ 1

Lesson 20 tip calculator

I have solved the project for end of lesson and got 2/3 test cases displayed with test case #3 being hidden. Can someone tell me why that 3rd one is hidden? Does it depend on a way I write the code?

28th Feb 2021, 1:42 AM
Evaldas Oleinikas
Evaldas Oleinikas - avatar
3 Answers
+ 3
Please show us your attempt if you want the help in the code HBhZ_C I think the OP is asking why the Test case 3 is hidden The third one is hidden because you not to come to know what SoloLearn is randomly trying to input into your program...if you will know what SoloLearn is trying to input then you can make your program in such a way that you can satisfy all the test cases but it will not be benificial for you at all you will only gain a few XP's
28th Feb 2021, 1:54 AM
∆BH∆Y - avatar
what i coded into the console was: tip = bill*20/100 print(tip)
28th Feb 2021, 8:55 AM
Evaldas Oleinikas
Evaldas Oleinikas - avatar
- 3
Just do it as they want print(input*20/💯) replace input with bill
28th Feb 2021, 1:48 AM
HBhZ_C - avatar