Python, Python Programming, Programming.
dictionary, however, it defaults to unknown as the key is not present and outputs: The occupation is unknown. Enumerate() enumerate() is a built-in function used to iterate over both the index and value of iterable objects. fruits = ['apple', 'banana', 'cherry'] for index, fruit in