DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python select from list by condition
>>> [ num for num in numbers if num < 5 ] [1, 3, 4]
PREVIOUS
NEXT
Tagged:
#python
#select
#list
#condition
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit