Spy Game (Udemy Python bootcamp)

前端 未结 0 1090
失恋的感觉
失恋的感觉 2021-01-25 05:47

Here is the posted solution to the Spy Game problem (007) -

**def spy_game(nums): code = [0,0,7,\'x\']

for num in nums:
    if num == code[0]:
        code         


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