Ответ:
a = [1,2,3,4,2,72,34,63,13,1,3,1,1,1,1,4]
b = []
for i in a:
if a.count(i) > 1:
for j in range(a.count(i)-1):
a.remove(i)
b.append(i)
print(b)
Держи ~~
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
a = [1,2,3,4,2,72,34,63,13,1,3,1,1,1,1,4]
b = []
for i in a:
if a.count(i) > 1:
for j in range(a.count(i)-1):
a.remove(i)
b.append(i)
print(b)
Держи ~~