DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to remove item from list in python
nums = [1, 2, 3, 4, 5, 6] del(nums[5]) print(nums) # Output will be [1, 2, 3, 4, 5]
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#remove
#item
#list
#python
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit