Quick actions

cmd+k|ctrl+k

Navigation

Languages

3.6

Snippet info

Language

Python

Visibility

public

Author

hoaivu100413

Created

2016-09-24T20:06:19Z

Updated

2016-09-26T03:10:29Z

#Python 3.5
#lhvu
#3.6

#- input: names = "cho meo ga chuot vit ngan"
#- output: ['m', 'e', 'u', 'v', 'i']

names =  "cho meo ga chuot vit ngan"
lista = []

for i in list(names):
    if names.count(i) == 1:
        lista.append(i)
print(lista)
INFO