import string
def stringoperation():
    myfile = open("words.txt","r")
    punct = string.punctuation
    for my in myfile:
        my = my.strip()
        my = my.replace(" ","")
        for c in punct:
           my = my.replace(c,"")
        my = my.lower()
        print(my)

stringoperation()

