DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How to count a specific number in a python list?
num = [1,2,3,6,4,2] sub = 2 print(num.count(sub))
Source by youtu.be #
PREVIOUS
NEXT
Tagged:
#How
#count
#specific
#number
#python
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit