Question: Using python.py file 2. Write a function named my_count O that mimics the behavior of the count O method. It should be defined as follows:
2. Write a function named my_count O that mimics the behavior of the count O method. It should be defined as follows: def my_count (my_list, value): It should return the number of times value appears in my_list. >print (my count (x, 1)) >>>print (my_count (x, 3) >>>print (my_count (x, 4))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
