Q1

 avatar
user_7676782
python
2 years ago
227 B
1
Indexable
Never
lst = []
# get any 10 values from the users
# and saves them in a list
for i in range(10):
    lst.insert(i, input("enter something: "))

print(lst[0:3])
print(lst[7:10])
print(lst[1:10])
print(lst[0:9])
print(lst[:])