The toy shop keeps a list of what is on the shelf. When a child asks for a toy, in_stock(shelf, toy) should return True if toy is on the list and False if not. The name must match exactly.
in_stock(["yo-yo", "kite", "robot"], "kite")→Truein_stock(["yo-yo", "kite"], "puzzle")→Falsedef in_stock(shelf, toy):
# your code here: is toy in shelf?
return False
Run tries the examples. When they look right, Submit.