In a script which reads the input and than lists it, i want it to convert upper case letters to lower case, how can i do that?
for the following code:
for words in text.readlines():
sentence = [w.strip(',.') for w in line.split() if w.strip(',.')]
list.append(sentence)