+ 1
How to do the tip calculator in python beginners
10 Respostas
+ 5
bill=int(input())
print(bill*20/100)
#just remove 50
+ 4
Explanation: 20% of 50 is 10.
To calculate 20% of a given amount, you can multiply the number by 20 and divide it by 100: 50*20/100 = 10.0
#I think so this much of hint is sufficient . For more hints post your attempt
+ 2
Can't provide direct answers. Till you haven't given your 100%
+ 1
Ohh I thought I have to do the sum in the code that's why all this confusion đ
+ 1
No problem
+ 1
MUHAMMATH SUFYAAN S
bill = int(input())
#your code goes here
bill /=5
print (bill)
0
I want the code bro
0
Sorry post what u have tried
0
bill=int(input(50))
print(bill*20/100)
0
Same I was getting so annoyed because I was focusing on the float and stuff.