list=['p','r','o','b','l','e','m']
list[1:3]=[]
print(list)
list[2:5]=[]
print(list)
Answers
Answered by
2
Explanation:
for 1st function it prints :problem
for 2nd function nothing will be printed since there is nothing to print
Answered by
0
Answer:
[_p','b','I','e','m']
[_p','b']
Similar questions