Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: myList.insert(index, element) question
Post: myList.insert(index, element) question

Why does the "insert.(index, element)" function work backwards in this for loop when used in the context "myList.insert(1, myList[v])"? Instead of adding 0, 1, and 2 to the list to the "myList[1]" loc...
ChrisF General Coding Help 1 1,613 Aug-27-2021, 02:35 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020