We can access the value of a certain index in a list like so:
letters = ['a','b','c','d','e','f']
print letters[1]
The code above will print the letter 'b', because it is in the index 1 of the list, letter. So in this way, we can access a certain object in a list.
Now, if we assume that letters = ['a','b','c','d','e','f']
, what code should we type to access the index of a certain object (assume it is the letter, 'c') in the list, letters
?
Any and all help will be appreciated.