diff --git a/exercises/exercise_1/opdracht_1.py b/exercises/exercise_1/opdracht_1.py index 7f6b077..427bde0 100644 --- a/exercises/exercise_1/opdracht_1.py +++ b/exercises/exercise_1/opdracht_1.py @@ -1,2 +1,8 @@ def likes(team: list) -> str: - return True \ No newline at end of file + + if len(list) == 0: + return "no one likes this" + elif len(list) == 1: + return "{list[0]} likes this" + elif len(list) == 2: + return "{list[0]} and {list[1]} like this" \ No newline at end of file