Run time error

I’m a beginner in this site. The following code runs well in anaconda. But it’s giving me runtime error when compiling in code chef editor. Can anybody explain ?
t=int(input())
for i in range(0,t):
fact=1
a=int(input())
for j in range(1,a+1):
fact=fact*j
print(fact)

If your code is showing NZEC. Check the custom input box and provide the input according to the question in the input box. For details Read this

From next time try to format your question as @ssjgz described here

1 Like

Thanks for helping me.

welcome :slight_smile: