This is my code:
... if y in x:
... return x.count(y)
I also tried to convert x and y to string too
Both function works in the interpreter for all the scenario but not on codecademy...
Can someone let me know ? ( should I use the list build-in function instead ? )
Thanks in advance!
Replace this line with your code.