0

Can anyone help me with python code project 18

13th Sep 2021, 7:28 AM
Muskan Pal
8 Answers
+ 3
Can you please show us your code?
13th Sep 2021, 7:56 AM
<★Shaurya Chauhan★>
<★Shaurya Chauhan★> - avatar
+ 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)
13th Sep 2021, 11:08 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Please show me the code? I may help you 🙂
13th Sep 2021, 8:06 AM
<★Shaurya Chauhan★>
<★Shaurya Chauhan★> - avatar
+ 1
bill = int(input()) bill = float(125*20/100) print(bill) For 2nd case bill = float(268*20/100) print(bill)
13th Sep 2021, 8:12 AM
Muskan Pal
0
It's tip calculator Only my first test case is correct and other are wrong 1st case input 125 2nd case input 268
13th Sep 2021, 8:04 AM
Muskan Pal
0
And it shows both solution for case 1 output
13th Sep 2021, 8:15 AM
Muskan Pal
13th Sep 2021, 8:34 AM
<★Shaurya Chauhan★>
<★Shaurya Chauhan★> - avatar
0
Thank you â˜ș
13th Sep 2021, 8:38 AM
Muskan Pal