0

how to get more than one test cases output if there's more than one test cases.

I'm trying to solve tip calculator code project,. I can get one right but when I try to do the other one then it shows failed for both one. I'm stuck and I don't know to solve.pls can someone help me

11th Aug 2021, 5:34 AM
Zelda
Zelda - avatar
6 odpowiedzi
+ 2
Hi Ayaz! For that, you have to use input() function to check various tests cases. But, that's what you have done here. Still you're unable to pass all test cases?
11th Aug 2021, 6:00 AM
Python Learner
Python Learner - avatar
+ 1
Can you show us your attempt?
11th Aug 2021, 5:42 AM
Angelo
Angelo - avatar
+ 1
it's from module 3 code project
11th Aug 2021, 5:48 AM
Zelda
Zelda - avatar
+ 1
bill = int( input()) print(bill*20/100)
11th Aug 2021, 5:49 AM
Zelda
Zelda - avatar
+ 1
Could you be so kind to copy-paste the problem here, many (including me) have not done the python beginner course, and it would be very tedious to do all those silly quizzes just so we can read it
11th Aug 2021, 5:59 AM
Angelo
Angelo - avatar
+ 1
This, that, here, there, first, second other two... OMG! Can you just copy paste: 1.task 2.input example 3.output example
11th Aug 2021, 7:27 AM
Shadoff
Shadoff - avatar