元素去重
import itertools
label = [k for k,g in itertools.groupby(list('AAAABBBCCDAABBB'))]
print(label)
import time
print(time.strftime("%Y%m%d", time.localtime()))
20210726
元素去重
import itertools
label = [k for k,g in itertools.groupby(list('AAAABBBCCDAABBB'))]
print(label)
import time
print(time.strftime("%Y%m%d", time.localtime()))
20210726