Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168697
Image: ubuntu2004
A = Graph() B = Graph() A.add_vertices([1, 2, 3]) B.add_vertices([1, 2, 3]) A.add_edge(1, 2) B.add_edge(1, 2)
A.is_subgraph(B)
True
B.add_edge(1, 3)
A.is_subgraph(B)
False