instructors = [{name: 'tim', hometown: 'camden, ar', mood: 'excited'}, {name: 'meryl', hometown: 'new orleans, la'}, {name: 'lindsey', hometwon: 'michigan'}]
def get_names(people)
# DON'T USE EACH
# map or collect
# just return the names
end
def get_people_from_a_place(people, place)
# DON'T USE EACH
# select
# return a list of people from place
end
def get_person_by_name(people, name)
# DON'T USE EACH
# find or detect
# return the first person hash by name
end
def get_tally_of_moods(people)
# DON'T USE EACH
# return a hash whose keys are the moods and whose values are the number of times that mood appears
end
-
Notifications
You must be signed in to change notification settings - Fork 171
License
learn-co-students/advanced-hashes-hashketball-001-prework-web
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published