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