def diviseursZ(n): if n<0: M=diviseurs(-n) else: M=diviseurs(n) L=[] for x in M: L.append(-x) L=L+M L.sort() return L