Python编写函数.求出一个数除了1和自身以外的因子。def fun(n: int): L = [ ] for i in range(2, n 2 + 1): if not n % i: L.append(i) return Lpri2023-04-30Python160