Computer Science, asked by ayazaqsa87, 7 months ago

write a program in function in python which takes one list as function argument and deletes the repeated elements from list​

Answers

Answered by RuwaisnZaid
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