def mystery(L, x):
if L==[]:
return False
if L[0] == x:
return True
L.pop(0)
return mystery(L, x)
What is the input or length size of the function
mystery?
What is the final output of mystery([1,3,5,7],
0)?
Explain in one sentence what mystery does?
What is the smallest input that mystery can have? Does
the recursive call have smaller inputs? Why?
Assuming the recursive call in mystery is correct, use
this assumption to explain in a few sentences why mystery is...