我有以下清单:
ip= ['a boy called me z there', 'what u doing b over there ', "come w me t the end']
我想从列表中的每个字符串中删除所有单个字母。
我已经尝试了以下方法,但是它不起作用:
x = [[w for w in c if (len(w)>1)] for c in ip]
I want to convert my ip
such that I get the following output op
:
op= ['boy called me there', 'what doing over there ', "come me the end']