human
Average of Squares of Natural Numbers | Function to calculate average of square number.
Driver code"
How can the above be solved in Python?
 ... What is a code to average of Squares of Natural Numbers and the other steps required?
assistant
#Here is code to average of Squares of Natural Numbers and the other steps required.
 def AvgofSquareN ( n ) :
	sum = 0
	for i in range ( 1 , n + 1 ) :
		sum += ( i * i )
	return sum / n
n = 2
print ( AvgofSquareN ( n ) )