Programming Example

WAP to count frequency of a given element in a list of numbers.


n=int(input("Enter the number : "))
print("The frequency of number ",n," is ",L.count(n))

Enter the number : 3
The frequency of number  3  is  0


Enter the number : 58
The frequency of number  58  is  1
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad