p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
Strings I
Exercise: Extract range from string II
Exercise: Extract range from string II
Fill in the gaps inside the square brackets to extract the word "Code" from the string.
Premium
reset
def greet(name): return f"Hello, {name}!" print(greet("Erik"))
Python
Setting up Python environment...
Output