image
image
image

Changing a range of items in a list

image

Start IDLE.

Navigate to the File menu and click New Window.

Type the following:

list_yours[0:3]=[12,11,10] #Will change first item to fourth item in the list

print(list_yours)   #Output will be: [12,11,10,1]