0
Can anyone help me with python code project 18
8 Antworten
+ 3
Can you please show us your code?
+ 2
Muskan Pal dont consider two input Compiler checking random values as a every single input each time .
Means
Once compiler will scan all errors warnings and constraints
First input 1st test
Again input second test .....
note: this division / will give float value so don't need of casting and in calculation u need to write input values bot any constant
check it
bill = int(input())
#your code goes here
print((bill*20)/100)
+ 1
Please show me the code?
I may help you 🙂
+ 1
bill = int(input())
bill = float(125*20/100)
print(bill)
For 2nd case
bill = float(268*20/100)
print(bill)
0
It's tip calculator
Only my first test case is correct and other are wrong
1st case input 125
2nd case input 268
0
And it shows both solution for case 1 output
0
Thank you ☺️