> Python problem... not understanding?

Python problem... not understanding?

Posted at: 2014-12-18 
--- return name1 [0] == name2 [0]

Note:

You do NOT have to be "sure" where to begin in order to begin. Don't be afraid to experiment.

def same_first_name(name1, name2):

""" (list of str, list of str) -> bool



Return whether the first element of name1 and name2 are the same.



>>> same_first_name(['John', 'Smith'], ['John', 'Harkness'])

True

>>> same_first_name(['John', 'Smith'], ['Matt', 'Smith'])

False

"""

This is one of the problems and I'm not sure where to begin. Can anyone point me in the right direction here?