Sorry, I am a beginner in learning Python so, I was complicated while trying to remove commas and dots of individual word in two dimensional list.
For example, I have:
list = [ ['Hello.', 'My', 'World,'] ]
desired_list = [ ['Hello', 'My', 'World'] ]
Try with my solution:
list = [['Hello.', 'My', 'World,']] list_n =  for l in list: n =  for e in l: e = e.replace('.', '') e = e.replace(',', '') n.append(e) list_n.append(n) print(list_n)
[['Hello', 'My', 'World']]