human
Print Fibonacci Series in reverse order | Python 3 Program to print Fibonacci series in reverse order.
assigning first and second elements.
storing sum in the preceding location.
printing array in reverse order.
Driver function"
How can the above be solved in Python?

What is a code to print Fibonacci Series in reverse order and the other steps required?
assistant
#Here is code to print Fibonacci Series in reverse order and the other steps required.
 def reverseFibonacci ( n ) :
	a = [ 0 ] * n
	a [ 0 ] = 0
	a [ 1 ] = 1
	for i in range ( 2 , n ) :
		a [ i ] = a [ i - 2 ] + a [ i - 1 ]
	for i in range ( n - 1 , - 1 , - 1 ) :
		print ( a [ i ] , end = " ▁ " )
n = 5
reverseFibonacci ( n )