flask-change-microservice icon indicating copy to clipboard operation
flask-change-microservice copied to clipboard

change calculation

Open wobweger opened this issue 2 years ago • 1 comments

I dought calculation performed is correct:

127.0.0.1:5000/change/1/15

delivers

[
  {
    "4": "quaters",
  },
  {
    "1": "dimes",
  },
  {
    "4": "pennis",
  }
]

in my opinion, I'm 1 penny short. should result not be

[
  {
    "4": "quaters",
  },
  {
    "1": "dimes",
  },
  {
    "1": "nickles",
  }
]

? which I get passing in 127.0.0.1:5000/change/1/16.

wobweger avatar Oct 17 '21 11:10 wobweger