This simple code that simply tries to replace semicolons (at i-specified postions) by colons does not work:
for i in range(0,len(line)): if (line[i]==\"
How about this:
sentence = 'After 1500 years of that thinking surpressed' sentence = sentence.lower() def removeLetter(text,char): result = '' for c in text: if c != char: result += c return text.replace(char,'*') text = removeLetter(sentence,'a')