[Community Puzzle] Self Checkout Machine

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Rob-G,validated by @Laki_42,@Risodu and @jordan_codingame.
If you have any issues, feel free to ping them.

Maybe accept also this kind of answer?
Found:
2x1+1x0.5+1x0.2+…

Expected:
2X1+1X0.50+2X0.20
cause adding zeroes to 0.5 and 0.2… so dumb

There isn’t a way to accept multiple answers for any individual test case for a simple text puzzle (by “simple” I mean a puzzle where the referee is not customisable by the authors). The answers are always fixed.