Issue in python tutorial


This is what the original code looks like:
zoo_animals = ["pangolin", "cassowary", "sloth", "tiger"]
# Last night our zoo's sloth brutally attacked 
#the poor tiger and ate it whole.

# The ferocious sloth has been replaced by a friendly hyena.
zoo_animals[2] = "hyena"

# What shall fill the void left by our dear departed tiger?
# Your code here!

Ive replaced the [2] by a 3 like asked and there is an error:


Notice how your issue can easily be diagnosed but no one has responded yet.
This is because reading your post does not give enough insight about your problem.
Revise your post with elaboration on your issue


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.