From d724e5969972511df50c796980399ef4b4ef785e Mon Sep 17 00:00:00 2001 From: Jordan1-34 <131589592+Jordan1-34@users.noreply.github.com> Date: Sat, 3 Aug 2024 20:12:09 +0100 Subject: [PATCH] Update 024_string_operations.py --- 024_string_operations.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/024_string_operations.py b/024_string_operations.py index fcf6386f..feb73c85 100644 --- a/024_string_operations.py +++ b/024_string_operations.py @@ -42,7 +42,7 @@ new_string = old_string.replace("YOUR_NAME", "Kay") # Uncomment this next line to see the result -# print(new_string) +print(new_string) # You'll notice here that the function is coming in a # different place. Let's compare `len` and `replace`: @@ -73,14 +73,14 @@ # == Exercise One == -print("") +print("uppercase") print("Function: uppercase") # Search for 'python make string uppercase' def make_uppercase(string): # Return the string in uppercase - pass + assert actual == expected, f"Expected {expected}, but got {actual}" check_that_these_are_equal( make_uppercase("hello"), "HELLO")