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.
Aprende de forma mais eficiente, gratuitamente:
Introdução ao Python
7,1M de estudantes
Introdução ao Java
4,7M de estudantes
Introdução ao C
1,5M alunos
Introdução ao HTML
7,5M alunos