What is the output of the following code ?
>>> s = [34, 56, 78, 23, 67, 23, 42] >>> s.count(23)
2
1
0
Error
s.count() counts number times an element present inside the list
Comment here: