Count of 0 s in an N | Function to return the count of 0 s in an n - level hexagon ; Driver code
def count ( n ) : NEW_LINE INDENT return 3 * n * ( n - 1 ) + 1 NEW_LINE DEDENT n = 3 NEW_LINE print ( count ( n ) ) NEW_LINE