Question 11: What will be the output of the following code?
x = [x for x in range(10) if x <5] print(x)
Question 12: What will be the output of the following code?
lst = [1, 2, 3, 4, 5]
del lst[:]
print(lst)
Question 13: What will be the output of the following code?
lst = [1, 2, 3, 4, 5]
print(lst[0:1]
Question 14: What will be the output of the following code?
lst = [1, 2, 3, 4, 5]
print(lst[-5:-3])
Question 15: What will be the output of the following code?
lst = [1, 2, 3]
lst[:]=[4,5,6]
print(lst)