human
Average of first n even natural numbers | Return the average of sum of first n even numbers.
Driven Program"
How can the above be solved in Python?
assistant
#Here is code to average of first n even natural numbers and the other steps required.
 def avg_of_even_num ( n ) :
	return n + 1
n = 8
print ( avg_of_even_num ( n ) )