Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
266 B
3
Indexable
Never
def main():
    with open("words.txt", "r") as file:
        for line in file:
            words = line.split()
            for word in words:
                if len(word.replace(" ", "")) > 20:
                    print(word)

if __name__ == "__main__":
    main()
Leave a Comment