The sum of the factorials of Python?



The author posted a question in Programming

The sum of the factorials of Python? and got a better answer

Response from

Response from 0[+++++]
N= 6 myList= list range 1,N+1 itog= myList[0] for i in myList: itog *= i print myList print itog >>> [1, 2, 3, 4, 5, 6] 720

Response from 0[+++++]
n= 1 res= 1 for i in range 2, number+1 : __n *= i __res += n print res

 

To answer the question:

Name*

E-mail:*

Reply text:*
Verification code (enter 22):*