Skip to content

Commit 75d5c15

Browse files
committed
add 2-4
1 parent 8969574 commit 75d5c15

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Lesson 2/exercise2-4.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"""
2+
Write a program that has the user add in as many items to a list as they would like.
3+
Then, ask the user if they are done adding items to the list. If the user says they are done, allow the user to access certain items of the list using indexing:
4+
"""
5+
6+
##TODO write a list program
7+
8+
"""
9+
Extension: Try combining lists and deleting certain items of the list.
10+
Also, try to print out various items in the list or the whole list itself. Try negative indexing.
11+
"""

0 commit comments

Comments
 (0)