Exercise: Extract range from string III

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