human
Nth Even Fibonacci Number | Function which return nth even fibonnaci number.
calculation of Fn = 4 * ( Fn - 1 ) + Fn - 2.
Driver Code"
How can the above be solved in Python?

Give me a code to nth Even Fibonacci Number and the other steps required?
assistant
#Here is code to nth Even Fibonacci Number and the other steps required.
 def evenFib ( n ) :
	if ( n < 1 ) :
		return n
	if ( n == 1 ) :
		return 2
	return ( ( 4 * evenFib ( n - 1 ) ) + evenFib ( n - 2 ) )
n = 7
print ( evenFib ( n ) )