Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find total no of true in a list in python

a_boolean_list = [True, False, True, False, False, True]
true_count = sum(a_boolean_list)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #find #total #true #list #python
ADD COMMENT
Topic
Name
4+5 =