summaryrefslogtreecommitdiff
path: root/progs/a531.py
blob: b87291e825764ca6f01e5f4b9998e4e9af2d3dd4 (plain)
1
2
3
4
5
def frequency(a,x): 
    count = 0  
    for i in a: 
        if i == x: count += 1
    return count