DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
list in python
fruits
=
[
"apple"
,
"banana"
,
"cherry"
]
print
(
fruits
)
fruits
[
0
]
fruits
[
:
2
]
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#list
#python
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit