completed 3-11 Intentional Error

This commit is contained in:
cheeks 2025-01-20 17:34:37 -05:00
parent ab9bb24b87
commit 15f015f7d0

View File

@ -0,0 +1,9 @@
# Exercise 3-11 Inentional Error
# Learning Objective: Create and fix an error based on indexing a list.
myList = ['Zero', 'One', 'Two']
#produces error
#print(myList[3]);
#corrected
print(myList[-1])