0

Whats wrong here

number=[2,3,4,5,4,6] unix=[ ] for numbers in number: if numbers not in unix: unix.append(numbers) print(unix) # I'm trying to make a list out of number list Name 'unix' without repeating any no.

21st Jun 2019, 6:16 AM
Ankit Tiwari
Ankit Tiwari - avatar
5 odpowiedzi
+ 1
Okkk thanks buddy ~ swim ~
22nd Jun 2019, 12:47 AM
Ankit Tiwari
Ankit Tiwari - avatar
0
How do I do that?~ swim ~
21st Jun 2019, 11:57 AM
Ankit Tiwari
Ankit Tiwari - avatar