DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get list from list python
list1 = [1, 2, 3, 4, 5] list2 = list1[0:3] print(list2) //output [1,2,3]
PREVIOUS
NEXT
Tagged:
#list
#list
#python
ADD COMMENT
Topic
COMMENT
Name
3+8 =
Submit