Computer Science, asked by skmahes27, 6 months ago

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 RuwaisnZaid
1

Explanation:

l = [5,6,7,"hello",world]

l = len(l)

print("number of elements",l)

del l[1:4]

print(l)

Similar questions