adding values of a dictionary to match a certain number

前端 未结 0 2005
半阙折子戏
半阙折子戏 2020-12-21 02:08

I was wondering if there is any way in python to sum values of a dictionary to see if any particular sum is equal to a given X. This sum can have up to five elements. Thanks

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