Reply to comment

ans = 1
text = str(ans)
for i in range(2, n+1 ):
    text += " X " + str(i)
    ans *= i
print(text, " = ", ans)
 

Reply

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.