SyntaxFix
Write A Post
Hire A Developer
Questions
mylist = [("aaaa8"),("bb8"),("ccc8"),("dddddd8")] print mylist j=0 for i in mylist: mylist[j]=i.rstrip("8") j+=1 print mylist