收起
a=[] n=int(input()) for i in range(1,n+1): if n%i==0: a.append(i) for i in reversed(a): print(i,end=" ")
报告相同问题?