Ballpark orders | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Ballpark orders

Hi, My code works perfectly fine for the first two test cases, but it fails all the hidden test cases. Dies anyone have an idea why? Thanks. https://code.sololearn.com/c3IXHA8YFkXr/?ref=app

27th Jul 2022, 5:11 PM
Sonja
3 Answers
0
Round the end print round(total*1.07,2)
27th Jul 2022, 5:33 PM
Felix Alcor
Felix Alcor - avatar
+ 1
Thanks, didn’t know about the ,2
28th Jul 2022, 6:53 PM
Sonja
+ 1
No Problem. I also needed to Check the correct form.
28th Jul 2022, 7:09 PM
Felix Alcor
Felix Alcor - avatar