Question: I don't know what i am doing wrong can someone please explain this to me and help me solve this please my professor wants it

I don't know what i am doing wrong can someone please explain this to me and help me solve this please

my professor wants it to be able to work for a large input list; This is my 3rd time asking for help and I have edited for my professor and its still wrong. can someone please help me

I don't know what i am doing wrong can someone please explain

5. (10) Create a function called occurs_n_times which will take as input a list L, and a positive integer n and will return True if there is an element in L which occurs n or more times and False otherwise. In this problem you may not use imports and you may not use dictionaries. You may use any available operation on lists though. Your function must run efficiently and will be tested on lists with many elements

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!