+ 1

Help for Ballpark Order Code Coach

Hi, I'm trying to solve the Ballpark Order Code Coach. The code runs correctly but Sololern tells it's not correct and I don't understand why. Any idea on this? https://code.sololearn.com/cTYtX2jUXQCd/?ref=app

15th Nov 2022, 2:25 PM
Antonio
1 Réponse
+ 4
Sololearn expects your final output in currency format, so rounded to 2 decimal places. Try this for the last line: print(round(count_final,2))
15th Nov 2022, 2:37 PM
Mozzy
Mozzy - avatar