Question: In Python plz!! Write a function 'count_name' such that given a list of names and a specific name, it would return the statement: The name
In Python plz!!
Write a function 'count_name' such that given a list of names and a specific name, it would return the statement: The name 'X' was found N times. Your function needs to substitute the correct values for X and N. Be careful with punctuation and quotations -- make sure that they match exactly what is shown above. To simplify your life, the tests will expect the output to always be "times", so no need to adjust to be able to output "1 time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
