My solution

#Write your function here
def more_than_n(lst,item,n):

Create a function named more_than_n that has three parameters

named lst, item, and n.

if lst.count(item) > n:
return True

Function should return True if item appears in the list more than

n times. This means the lst, the one that has all the numbers,

need to be checked the number of times from the item

therefore, lst needs to attach itself to ‘.count’, to count (duh)

all of the ‘items’ and to see if its more than n.

return False

#Uncomment the line below when your function is done
print(more_than_n([2, 4, 6, 2, 3, 2, 1, 2], 2, 3))

Hy: dear can you expalin what is the value of N?

Well n is the number compared to the number of occurrences of the item in the list!