From 0e04bc4dba32de0c42713343209ad49776626e8e Mon Sep 17 00:00:00 2001 From: tgaeta Date: Wed, 8 Oct 2025 13:14:45 -0400 Subject: [PATCH] Made function to count people who like a color. --- .DS_Store | Bin 6148 -> 6148 bytes friend_functions.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.DS_Store b/.DS_Store index 7b9d68be0e457c804b655d7724b09f416f46137f..cd171265ed94ec67f36c84cf9c3da09b95160e56 100644 GIT binary patch delta 134 zcmZoMXffEJ#uWE?CIbTl3xgg*IzuKyNp8N2OHxjL5>Sl8AhBd_ruT72RQVLV@&y@& t!O8i#1wcIv49puCCa+_Xnmmt*pD_=}QsdZbnY{yKB#ZL)Ht|LTr33{3FOFZ{=vi}3IGBkBp3hy diff --git a/friend_functions.py b/friend_functions.py index 1820066..5ac6929 100644 --- a/friend_functions.py +++ b/friend_functions.py @@ -72,7 +72,7 @@ def count_people_who_like_color(people, color): >>> count_people_who_like_color(family, "orange") 1 """ - raise NotImplementedError() + return len(people_who_like_color(people, color)) def get_color_dict(people): """Returns a dict showing how many people like each color.