Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 024_string_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down Expand Up @@ -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")
Expand Down