How do I calculate the total sum of my cart to my dictionary list based on user input menu?

前端 未结 0 1187
半阙折子戏
半阙折子戏 2020-12-31 10:01

I have created a simple menu to add things based on user input.

ServiceList = {"Service A": 100, "Service B": 200}
cart = []

def main():
         


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