0

l=[1,3,5,7,3,3,2] output [1,3,5,7,2] write phyton code using list

pyton

21st Oct 2018, 10:21 AM
Bhavya Champaneri
Bhavya Champaneri - avatar
2 Antworten
+ 5
a = [6,5,5,4,2,3,1,3] # [6, 5, 4, 2, 3, 1] print(set(a)) print(sorted(set(a), key=a.index))
21st Oct 2018, 12:53 PM
Mert Yazıcı
Mert Yazıcı - avatar
21st Oct 2018, 10:55 AM
Ipang