0

How can i answer Tip calculator

I cant answer the third proyect of the phyton for begginers i think im not giving correct commands and input i need help please

28th Mar 2021, 8:14 PM
Eros Blue Prince 💙
Eros Blue Prince 💙 - avatar
6 Respostas
+ 3
bill = int(input()) print (bill * 20/100)
30th Mar 2021, 9:59 AM
JediMastrBob
JediMastrBob - avatar
+ 2
Can you please show us the code you have written so far so that we can help?
28th Mar 2021, 11:54 PM
JediMastrBob
JediMastrBob - avatar
+ 2
What error did you get? Does it want an int or float returned? Try this: bill = int(input()) print (int(bill * 20/100))
31st Mar 2021, 9:59 AM
JediMastrBob
JediMastrBob - avatar
0
bill = int(input()) print = int (50*20/100)
30th Mar 2021, 1:00 AM
Eros Blue Prince 💙
Eros Blue Prince 💙 - avatar
0
It doesn't work
31st Mar 2021, 1:20 AM
Eros Blue Prince 💙
Eros Blue Prince 💙 - avatar
0
Float
1st Apr 2021, 11:20 PM
Eros Blue Prince 💙
Eros Blue Prince 💙 - avatar