Skip to content

Commit d509b04

Browse files
authored
Merge pull request #33 from Jayant123-Joker/master
improve docs
2 parents 963085b + 00e9b38 commit d509b04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graph_adjacency-matrix.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# implementation of an undirected graph using Adjacency Matrix, with weighted or unweighted edges
2+
# its definitely work
23
class Vertex:
34
def __init__(self, n):
45
self.name = n
@@ -46,4 +47,4 @@ def print_graph(self):
4647
for edge in edges:
4748
g.add_edge(edge[:1], edge[1:])
4849

49-
g.print_graph()
50+
g.print_graph()

0 commit comments

Comments
 (0)