Wrong answer is shown on submission. My code is in Python:
import math
N=input("Enter the value of N: ")
if N<10:
i=0
T=[0,1,2,3,4,5,6,7,8,9]
result=T
print "Enter terms"
while (i<N):
T[i]=input()
if T[i]<=200:
i=i+1
else:
print "Value of T must be less than or equal to 200"
i=0
while (i<N):
result[i]=math.factorial(T[i])
print result[i]
i=i+1
else:
print "Value of N must be less than 10"