from itertools import groupbyresult = [list(g) for k, g in groupby(data, lambda x:x=='') if not k]result = [list(g) f 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交