diff --git a/030_list_indexing.py b/030_list_indexing.py index 034a63a2..e9178a28 100644 --- a/030_list_indexing.py +++ b/030_list_indexing.py @@ -18,13 +18,16 @@ # == Exercise One == -print("") +print("get_first_item") print("Function: get_first_item") def get_first_item(the_list): # Return the first item of the list pass +def check_that_these_are_equal(actual, expected): + assert actual == expected, f"Expected {expected}, but got {actual}" + check_that_these_are_equal( get_first_item(["a", "b", "c", "d", "e"]), "a"