Hey viewers,
In this video, we will see 3 methods of class LIST in PYTHON. These methods are index(), count() and insert().
• The index() method returns the position at the first occurrence of the specified value.
• The count() method returns the number of times the specified element appears in the list.
• the insert() method inserts an element to the list at the specified index.
Task:
x = [12, 23, 34, 45, 56]
x.insert(-1, 32)
x.insert(100, 100)
y = [1, 2]
x.insert(2, y)
Watch video List in PYTHON - Methods of class LIST | Part - 3 | Lecture - 32 online, duration hours minute second in high quality that is uploaded to the channel Go-Mind 06 January 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 12 times and liked it 3 visitors.