Perl Primer - University of California, Davis

Length of String: Python is: 6. Main Menu. 1.Calculate Length of String. 2.String Reversal ... word=text.split() #creating a list of words. word = [w.replace('.', ',') for w in word]#searching dot from each word and replacing it by comma . text=' '.join(word)#creating a sentence again from list of words. text+='\n' file2.write(text)#writing the ... ................
................