generated from mwc/lab_weather
1 function count_people function is working
I didn't remember the len function at first, but a quick google search refreshed my memory.
This commit is contained in:
parent
1799c59fe4
commit
dd1fb7d3d3
|
@ -17,7 +17,7 @@ def count_people(people):
|
||||||
>>> count_people(friends)
|
>>> count_people(friends)
|
||||||
10
|
10
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
return len(people)
|
||||||
|
|
||||||
def get_email(people, name):
|
def get_email(people, name):
|
||||||
"""Returns the named person's email address. If there is no such person, returns None.
|
"""Returns the named person's email address. If there is no such person, returns None.
|
||||||
|
|
Loading…
Reference in New Issue