vinhquang3.6fix
stri = 'cho meo ga chuot vit ngan'
lst_stri = []
for i in stri:
if stri.count(i) <= 1:
lst_stri.append(i)
print(lst_stri)
stri = 'cho meo ga chuot vit ngan'
print([i for i in stri if stri.count(i) == 1])
INFO
stri = 'cho meo ga chuot vit ngan'
lst_stri = []
for i in stri:
if stri.count(i) <= 1:
lst_stri.append(i)
print(lst_stri)
stri = 'cho meo ga chuot vit ngan'
print([i for i in stri if stri.count(i) == 1])