From 0119963833707e31d9c35fe0aa9cd8e545ed81e5 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 13 Oct 2024 22:26:52 -0400 Subject: [PATCH] Fixed a typo. --- friend_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/friend_functions.py b/friend_functions.py index 6037afe..93e10ec 100644 --- a/friend_functions.py +++ b/friend_functions.py @@ -44,7 +44,7 @@ def count_favorite_colors(people, name): >>> count_favorite_colors(family, "Raphael Chambers") 1 """ - num_fave_colors = 0 + num_fav_colors = 0 for person in people: if person["name"] == name: for color in person["favorite_colors"]: