闲来无事写一次Python 然后发现: code:
import math as m a=int(input()) for i in range(1,a): ans+=m.factorial(i) print(ans)
???