<filename>list3.py<gh_stars>0
names = ['ajay', 'kiran', 'ramesh']

print(names[1])

# update -> change ajay to vijay
names[0] = 'vijay'

print(names)

# names[3] = "new" # IndexError
<filename>list3.py<gh_stars>0
names = ['ajay', 'kiran', 'ramesh']

print(names[1])

# update -> change ajay to vijay
names[0] = 'vijay'

print(names)

# names[3] = "new" # IndexError
# update -> change ajay to vijay # names[3] = "new" # IndexError