human
Can you provide a code to mean of fourth powers of first N natural numbers and the other steps required given the following:
Mean of fourth powers of first N natural numbers | Function to find the average of the fourth power of first N natural numbers.
Store the resultant average calculated using formula.
Return the average.
Driver Code"
How can the above be solved in Python?
assistant
#Here is code to mean of fourth powers of first N natural numbers and the other steps required.
 def findAverage ( N ) :
	avg = ( ( 6 * N * N * N * N ) + ( 15 * N * N * N ) + ( 10 * N * N ) - 1 ) / 30
	return avg
N = 3
print ( round ( findAverage ( N ) , 4 ) )