human
Sum of first n even numbers | function to find sum of first n even numbers.
required sum.
Driver Code"
Solution in Python:
assistant
#Here is code to sum of first n even numbers and the other steps required.
 def evensum ( n ) :
	return n * ( n + 1 )
n = 20
print ( " sum ▁ of ▁ first " , n , " even ▁ number ▁ is : ▁ " , evensum ( n ) )