0

Paint Costs

Can anyone help me with this? I've tried a lot of variations of this and always fail cases 3 and 4. Thx paint = float(input())*5 tax = ((paint*.1 + paint)+(40*.1 + 40)) import math math.ceil(tax) print(int(tax))

2nd Oct 2020, 1:19 PM
Dan
2 Réponses
+ 1
paint = float(input())*5 tax = ((paint*.1 + paint)+(40*.1 + 40)) import math print(math.ceil(tax)) math.ceil doesn't effects original value but returns a new value so it would have been int(math.ceil(tax)) but you Don need int anyway
2nd Oct 2020, 1:35 PM
Abhay
Abhay - avatar
+ 1
tax = math.ceil(tax)
2nd Oct 2020, 1:52 PM
Jayakrishna 🇼🇳
Aujourd'hui en vedette
What?
0 Votes
HTML
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes
Create Agent
0 Votes