Quick Print – Computer Sir Ki Class

Login


Lost your password?

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


Shop
siteicon
Solved Problem Solved Problem#PYTHON#7132

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