+ 2

Kaleidoscope. I don't know why when I input 15 I get 14.445 instead of 14.45. Can someone explain this

https://code.sololearn.com/c92X01w7JFOT/?ref=app

30th Jan 2023, 12:29 PM
Alex Wairegi
Alex Wairegi - avatar
1 Resposta
+ 4
# Round a number to only two decimals print(round(totalCost,2))
30th Jan 2023, 1:06 PM
SoloProg
SoloProg - avatar