<https://stackoverflow.com/questions/78147467/list...
# community-feeds
r
'list' object has no attribute 'lower' Cant solve this [closed] This is my code words = [stemmer.stem(w) for w in words if w != "?"] words = sorted(list(set(words))) Earlier, I was using stemmer.stem(w.lower()) but got the same error so removed it. It's still showing: line 207, in stem word = word.lower() ^^^^^^^^^^ AttributeError: 'list' object has no attribute 'lower' It's implemented in stem .lower() what do I do? I removed .lower() from my code but stem uses .lower() internally so cant do anything about it. How do I fix it?