+ 3

Is there any way to remove a thing on a given index in a list in python?

21st Feb 2018, 12:42 AM
Neeraj Babu
Neeraj Babu - avatar
2 Answers
+ 5
You can use the del keyword >>> my_list ['a', 'b', 'c'] >>> del(my_list[1]) >>> my_list ['a', 'c']
21st Feb 2018, 12:46 AM
Paul
Paul - avatar
0
G
23rd Feb 2018, 12:19 AM
Đ“Đ°ĐŽĐ¶ĐžĐŒŃƒŃ€Đ°ĐŽ