第一题不大会,笨办法 n=int(input()) def check(nums): for i in range(2,int(nums**0.5)+1): if nums%i==0: return False return True ans=[] for i in range(2,n+1): if check(i)==True: ans.append(i) result=[] for num in ans: while n%num==0: n//=num result.append(num) if n>1: result,append(n) print(' &(5528)#39;.join(str(num) for num in result))