human
Number of coloured 0 's in an N | Function to return the count of coloured 0 s in an n - level hexagon.
Driver code"
How can the above be solved in Python?
 Can you provide a code to number of coloured 0 's in an N and the other steps required?
assistant
#Here is code to number of coloured 0 's in an N and the other steps required.
 def count ( n ) :
	return n * ( 3 * n - 1 ) // 2 ;
if __name__ == " _ _ main _ _ " :
	n = 3 ;
	print ( count ( n ) ) ;