human
Mean of fourth powers of first N natural numbers | Function to find the average of the fourth power of first N natural numbers.
Stores the sum of the fourth powers of first N natural numbers.
Calculate the sum of fourth power.
Return the average.
Driver Code"
Solution in Python:
assistant
#Here is code to mean of fourth powers of first N natural numbers and the other steps required.
 def findAverage ( N ) :
	S = 0
	for i in range ( 1 , N + 1 ) :
		S += i * i * i * i
	return round ( S / N , 4 )
if __name__ == ' _ _ main _ _ ' :
	N = 3
	print ( findAverage ( N ) )