Exercise: Extract range from string I

Fill in the gaps inside the square brackets to extract the word "for" from the string.
text = "Code for fun!"
sub_str = text[:]
print(sub_str)
Python
Setting up Python environment...
Output