human
Sum of first N Star Numbers | Function to find the sum of the first N star number.
Variable to store the sum.
Driver code"
How can the above be solved in Python?

Write me a code to sum of first N Star Numbers and the other steps required?
assistant
#Here is code to sum of first N Star Numbers and the other steps required.
 def sum_star_num ( n ) :
	summ = 2 * n * ( n + 1 ) * ( n - 1 ) + n
	return summ
n = 3
print ( sum_star_num ( n ) )