human
Write me a code to find all factorial numbers less than or equal to n and the other steps required given the following:
Find all factorial numbers less than or equal to n | Python3 program to find all factorial numbers smaller than or equal to n ..
Compute next factorial using previous.
Driver code"
Solution in Python:
assistant
#Here is code to find all factorial numbers less than or equal to n and the other steps required.
 def printFactorialNums ( n ) :
	fact = 1
	x = 2
	while fact <= n :
		print ( fact , end = " ▁ " )
		fact = fact * x
		x += 1
n = 100
printFactorialNums ( n )