+ 1
problem
https://www.sololearn.com/coach/22?ref=app my answer was: c=int(input()) print(int(((c*5+40)/10)+(c*5+40))) what's wrong?
3 Answers
+ 13
int() converting float to round down integer
You need ceil() instead
#dont forget to import ceil
from math import ceil
+ 2
You are missing round up result there..
Before converting to int, use " ceil" function on result...
[Try and reply if you don't get.. Or not understood]
+ 2
Use round() function instead of int() in line 2