human
Tail Recursion | ''A tail recursive function to calculate factorial.
''Driver program to test  above function"
How can the above be solved in Python?
assistant
#Here is code to tail Recursion and the other steps required.
 def fact ( n , a = 1 ) :
	if ( n == 1 ) :
		return a
	return fact ( n - 1 , n * a )
print ( fact ( 5 ) )