def find_nodes_with_degree(graph, degree):
    """ Find nodes with degree N in a graph and return a list """
    degrees = graph.degree()
    nodes = list()
    
    for node in degrees:
        if degrees[node] == degree:
            nodes.append(node)

    return nodes