notebook.community
Edit and run
In [1]: x = 4
x = 4
In [2]: L = range(10)
L = range(10)
In [9]: L = [2,3,4,5,2,3,4,8] L.count(2)
L = [2,3,4,5,2,3,4,8] L.count(2)
Out[9]: 2
2
In [ ]: