image
image
image

Using Empty List to Delete an entire or specific elements

image

Start IDLE.

Navigate to the File menu and click New Window.

Type the following:

list_mine=[‘t’,’k’,’b’,’d’,’w’,’q’,’v’]

list_mine=[1:2]=[]    

print(list_mine)   #Output will be [‘t’,’w’,’q’,’v’]