write a program in function in python which takes one list as function argument and deletes the repeated elements from list
Answers
Answered by
1
Explanation:
def (a):
for i in range(len(a)):
u = a.count(i)
if u==2:
a.remove(a[I])
print(a)
([1,4,5,5,6,7,7,8])
Similar questions