-
-
Notifications
You must be signed in to change notification settings - Fork 49.6k
Closed
Description
with open("quiker.txt","r") as f:
fContents=f.read()
letters=fContents.split()
for i in range(0, len(letters)):
word=letters[i]
word=word.replace(",","")
word=word.replace(".","")
letters[i]=word
lenghtOfFirstList = len(letters)
newL=[]
for i in range(0,lenghtOfFirstList):
if(len(letters[i]) > 3):
newL.append(letters[i])
newLLenght= len(newL)
for i in range(0,newLLenght):
word=newL[i]
first=word[0]
word=word[1:]
word=word+first+'ay'
newL[i]=word
print(newL)
Metadata
Metadata
Assignees
Labels
No labels