How can I write a “buy x get x free” program within Python?

后端 未结 0 660
清歌不尽
清歌不尽 2020-12-10 14:59

I am looking to write a code where if a person buys five things they will get the cheapest item for free, it would have to show the five items and their individual cost rank

相关标签:
回答
  • 消灭零回复
提交回复
热议问题