Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python if modulo

x=[2,3,4,7,9]
count=0
for i in x:
  if i%2:
    count=count+1
print count
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #modulo
ADD COMMENT
Topic
Name
4+4 =