B03B-2019S-C2 – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  

Login
[lwa]



Exam Questions-CBSE12A-2019-B03B-C2 #PYTHON#7132    siteicon   siteicon  

Problem Statement - B03B-2019S-C2

Write definition of a method/function HowMany(ID,Val) to count and display number of times the values of Val is present in the list ID.

For Example:

If the ID contains [115, 122, 137, 110, 122, 113] and Val contains 122

The function should display

122 found 2 Times

Solution

TC++ #7132


Share

CSKC| Created: 11-Apr-2019 | Updated: 11-Apr-2019|CBSE12A-2019









Back