[Tutor] how to remove the coming duplication

lina lina.lastname at gmail.com
Thu Nov 10 08:20:49 CET 2011


b = []

 b=b.append(a[i]) for i in range(len(a)) if a[i] != b[-1]

showed me:
SyntaxError: invalid syntax


More information about the Tutor mailing list