From ed000e49277cac38ca3dc00fbcf7c616008df77c Mon Sep 17 00:00:00 2001 From: Deivaprakash <110375140+Deivaprakash56@users.noreply.github.com> Date: Tue, 23 Jul 2024 00:51:36 +0530 Subject: [PATCH] Update I. The Graph Data Structures.ipynb Have changes the G.nodes_iter() into G.nodes() --- I. The Graph Data Structures.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I. The Graph Data Structures.ipynb b/I. The Graph Data Structures.ipynb index 779c754..1cea166 100644 --- a/I. The Graph Data Structures.ipynb +++ b/I. The Graph Data Structures.ipynb @@ -253,7 +253,7 @@ }, "outputs": [], "source": [ - "for n in G.nodes_iter():\n", + "for n in G.nodes():\n", " if type(n)== str:\n", " print(n + ' is a string!')\n", " else:\n",