how to check if user input is in a dictionary

前端 未结 0 1539
独厮守ぢ
独厮守ぢ 2021-02-06 14:39

how do I check if a value that the user has given is in a dictionary of randomly generated numbers?

card_numbers = {}

def create_card():
    first_half = 400000
         


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