NIELIT O Level Exam

Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1.count(5)?

Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1.count(5)?

मान लीजिए कि लिस्ट1 है [3, 4, 5, 20, 5, 25, 1, 3], list1.count (5) क्या है?

A. 0

B. 4

C. 1

D. 2




Correct Answer is :

D. 2



Explanation
count function return the frequency of given element in list.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad