human
Program for factorial of a number | Function to find factorial of given number.
Driver Code"
Solution in Python:

Give me a code to program for factorial of a number and the other steps required?
assistant
#Here is code to program for factorial of a number and the other steps required.
 def factorial ( n ) :
	if n == 0 :
		return 1
	return n * factorial ( n - 1 )
num = 5 ;
print ( " Factorial ▁ of " , num , " is " , factorial ( num ) )