Skip to content

learn-co-students/advanced-hashes-hashketball-001-prework-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashketball Review

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages