flask-change-microservice
flask-change-microservice copied to clipboard
change calculation
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
.