Question: SPY GAME (15%) Write A Function That Takes In A List Of Integers And Returns True If It Contains 007 In Order Spy_game ([1,2,4,0,0,7,5]) -->
SPY GAME (15%) Write A Function That Takes In A List Of Integers And Returns True If It Contains 007 In Order Spy_game ([1,2,4,0,0,7,5]) --> True Spy_game ([1,0,2,4,6,5,7]) --> True Spy_game ([1,7,2,0,4,5,0]) --> False 1: Def Spy_game (Nums): Pass # Check Spy_game([1,2,4,0,0,7,5]) : # Check Spy_game((1,0,2,4,6,5,7]) : # Check


![spy game ([1,2,4,0,0,7,5]) --> True spy game ([1,0,2,4,0,5,7]) --> True spy game](https://s3.amazonaws.com/si.experts.images/answers/2024/05/664c806ef175c_646664c806ed4a27.jpg)
![([1,7,2,0,4,5,0]) --> False : def spy game (nums): pass # Check spy](https://s3.amazonaws.com/si.experts.images/answers/2024/05/664c806f438d5_647664c806f275a9.jpg)
![game ([1,2,4,0,0,7,5]) :# Check spy game ([1,0,2,4,0,5,7]) # Check spy game ([1,7,2,0,4,5,0])](https://s3.amazonaws.com/si.experts.images/answers/2024/05/664c806f9430e_647664c806f7c679.jpg)



Question 1: SPY GAME (15%) Write a function that takes in a list of integers and returns True if it contains 007 in order spy game ([1,2,4,0,0,7,5]) --> True spy game ([1,0,2,4,0,5,7]) --> True spy game ([1,7,2,0,4,5,0]) --> False : def spy game (nums): pass # Check spy game ([1,2,4,0,0,7,5]) :# Check spy game ([1,0,2,4,0,5,7]) # Check spy game ([1,7,2,0,4,5,0])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
