DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+4 =
Submit