LearnPy Hub
← Lists problems
Easy

How Many Times?

Read a list of integers and then x. Print how many times x appears using count().

Input

Two lines.

Output

One integer.

Sample 1

Input
1 2 2 3 2
2
Output
3

Sample 2

Input
5 5 5
5
Output
3
solution.py
Output appears here
How Many Times? · Python practice problem · LearnPy Hub