From 2647a2bfb44a67fe9758da81c57acf1a96fa5457 Mon Sep 17 00:00:00 2001 From: LegendJurai Date: Mon, 3 Mar 2025 14:49:02 +0100 Subject: [PATCH] Update 42_forty_two.py Actually, the '.search' command doesn't work (in my code editor). And in the instructions there was an external link which also says it should be '.summary'. --- 8-modules/42_forty_two.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8-modules/42_forty_two.py b/8-modules/42_forty_two.py index 7e5928e..2407874 100644 --- a/8-modules/42_forty_two.py +++ b/8-modules/42_forty_two.py @@ -3,4 +3,4 @@ import wikipedia -print(wikipedia.search('Philosophy of life')) \ No newline at end of file +print(wikipedia.summary('Philosophy of life'))