blob: 21132cb4725a487fc560a89445ecdae02e6f4664 (
plain)
1
2
3
4
5
6
7
8
|
def find_the_treasure(clues):
for clue in clues:
if "treasure" in clue:
return True
return False
treasure_hunt = ["Dead Man's Chest", "X marks the spot", "The treasure is buried near the palm tree"]
find_the_treasure(treasure_hunt)
|