From 6b0b1498cb384589b6844dce56848a24eac14b4d Mon Sep 17 00:00:00 2001 From: Silvia Margarian Date: Thu, 12 Mar 2026 16:11:57 -0400 Subject: [PATCH] complete --- 02_activities/assignments/assignment_1.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/02_activities/assignments/assignment_1.ipynb b/02_activities/assignments/assignment_1.ipynb index b5c6d7a0b..fca6d8287 100644 --- a/02_activities/assignments/assignment_1.ipynb +++ b/02_activities/assignments/assignment_1.ipynb @@ -56,7 +56,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": null, "metadata": {}, "outputs": [ { @@ -73,7 +73,7 @@ "source": [ "# For testing purposes, we will write our code in the function\n", "def anagram_checker(word_a, word_b):\n", - " if sorted(word_a.lower()) == sorted(word_b.lower()): #First change all characters in both strings to lower case by using .lower() function and then sort the characters in alphabetical order with sorted() function. Check if the strings are the same.\n", + " if sorted(word_a.lower()) == sorted(word_b.lower()): # First change all characters in both strings to lower case by using .lower() function and then sort the characters in alphabetical order with sorted() function. Check if the strings are the same.\n", " return True # If the strings are the same, then return True.\n", " else:\n", " return False # Otherwise, return False.\n",