Is it possible to iterate through all of a dictionary's keys except a specific subset?

前端 未结 0 581

Let\'s say I have a dictionary with the keys being all the numbers 1-10. And I want to iterate through that excluding keys 6-8. Is it possible to do something like



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