Is the Graph constructed by the
following network program
connected?
Import networkx
G=networkx.Graph()
G.add_node(1)
G.add_node(2)
G.add_node(3)
G.add_node(4)
G.add_node (7)
G.add_node (9)
G.add_edge (1,2)
G.add_edge (3,1)
G.add_edge (2,4)
G.add_edge(4,1)
G.add_edge (9,1)
G.add_edge(1,7)
G.add_edge(2,9)
networkx.draw(G)
a. Yes
b. No
Answers
Answered by
2
hey mate
here is your answer
b. yes
hope its help you ⭐⭐
please follow me ❤️❤️
please mark me as brainliest ❤️❤️
Anonymous:
Hi yashiya
Answered by
0
Answer:
kese ko pata hai kya yashika ne left ker diya kya?
please comment!
Similar questions