'list' object has no attribute 'lower' in Python
nrthugu.blogspot.com › 2019 › 01Jan 12, 2019 · if anagrams ( string, j ) == True: return list1. else: return. ERROR kept saying this: AttributeError: 'list' object has no attribute 'lower'. for example,word_list contains: ['pyruvates', 'python', 'pythoness', 'pythonesses', 'pythonic', 'pythons', 'pyuria', 'pyurias', 'pyx', 'pyxes'] Expected output below.