Guys I am trying to check the size of a item inside a list.
How do I search through a list and return items of a certain size?
This is what got:
#This is meant to search through a .txt file an return the words with 20 characters
fin = open('file directory/file name', 'r')
for line in filename:
word = line.strip()
if len(word) == 20:
print word