From 872e56c928971a39b69dc07ce29d2dd657432341 Mon Sep 17 00:00:00 2001 From: cassanof Date: Mon, 28 Aug 2023 15:49:52 -0700 Subject: [PATCH] a --- programming_runs/generators/parse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programming_runs/generators/parse.py b/programming_runs/generators/parse.py index a2f7472..18fdb5f 100644 --- a/programming_runs/generators/parse.py +++ b/programming_runs/generators/parse.py @@ -74,9 +74,9 @@ def bleh(): \"\"\" Write a function that accepts two lists of strings and returns the list that has total number of chars in the all strings of the list less than the other list. - + if the two lists have the same number of chars, return the first list. - + Examples >>> total_match([], []) [] @@ -91,7 +91,7 @@ def bleh(): \"\"\" total_chars_lst1 = sum(len(word) for word in lst1) total_chars_lst2 = sum(len(word) for word in lst2) - + if total_chars_lst1 < total_chars_lst2: return lst1 elif total_chars_lst1 > total_chars_lst2: