One test case not working

Can you please review my code , one test case is not working I don’t understand where might be the error?

@bhavik911,
https://ide.codingblocks.com/s/286016 corrected code.

Error:
You need to put sum_rick and sum_tax inside the for loop because they will have to reset to 0 at every iteration. In your code, the value was not being set to 0 after printing a answer hence the error.

Oh ohkay , thanks :slight_smile: