Nuacht
This Python script defines a function factorial(n) that calculates the factorial of a number n using a recursion method. It tests the function with the number 5.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana