Create a Python list containing elements 5.6.7. hello', 'world and print the number
of elements in the list, delete elements 6, 7, 'hello' from the list and print the number
of elements again
Answers
Answered by
1
Explanation:
l = [5,6,7,"hello",world]
l = len(l)
print("number of elements",l)
del l[1:4]
print(l)
Similar questions