DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to convert boolean type list to integer
num = [True, False, False] int_num = list(map(int, num)) print(int_num)
PREVIOUS
NEXT
Tagged:
#convert
#boolean
#type
#list
#integer
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit