0

What's wrong?

https://www.sololearn.com/coach/22?ref=app Paint costs What's wrong? x = float(input()) y = x*5+40+(x*5+40)/10 if int(y) == float(y): print (int(y)) else: print(float(y))

7th Mar 2020, 10:28 PM
Ahmed Mohamed
3 Answers
+ 2
input is an integer x = int(input()) remove the if statement and use math.ceil print(math.ceil(y)) (you need to import math)
7th Mar 2020, 10:54 PM
Denise Roßberg
Denise Roßberg - avatar
0
What is celi mean?
7th Mar 2020, 10:58 PM
Ahmed Mohamed