Testing forum software for programmers

General Discussion
  • Just testing YouTube video embedding and code block snippets:

    https://youtu.be/mcuQXFrM2J4

    def count_out_degrees(adjacency_dict):
        """
        Scan Value (edge) length for each Key (node) to
        retrun outdegree(list)
        """
        out_edges = defaultdict(int)
    
        for node, edges in adjacency_dict.items():
            # Additional check for an edge that has no out edge.
            for edge in edges:
                if edge not in out_edges:
                    out_edges[edge] = 0
            # ---
            out_edges[node] = len(edges)
        return out_edges
    

    Testing this: Awesome Text.

    Image Test:

    1220f54b-8125-4b15-98dd-6f620ed3d6bd-image.png


Suggested Topics


  • 0 Votes
    1 Posts
    865 Views
  • 0 Votes
    7 Posts
    2759 Views
  • 0 Votes
    2 Posts
    1414 Views
  • 0 Votes
    8 Posts
    4732 Views
  • 0 Votes
    7 Posts
    2246 Views