Python - Logic for Buy X get cheapest free in shopping basket

后端 未结 0 495
说谎
说谎 2020-12-07 00:49

We have an offer of buying 3 shampoos and getting the cheapest free with any of the following:

d = {\'Shampoo (Small)\' : 2.00,
    \'Shampoo (Medium)\' : 2.5         


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