11.count. lise indices must be integers, not str error


#1

Could anyone do me a favor to check what do I need to fix?


#2

try
if i == item:
instead :wink:


#3

yeah, I figure it out. sequence[i] should be something about dictionary, not list. Thank you very much