From 7f7701a9c8a8ce93afc23d3d8e327a5cbae896f3 Mon Sep 17 00:00:00 2001 From: PRABAL MINOTRA <113827487+PrabalMinotra@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:13:53 +0530 Subject: [PATCH 1/2] Update Aakhbar_Padke_Sunao.py --- Aakhbar_Padke_Sunao.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Aakhbar_Padke_Sunao.py b/Aakhbar_Padke_Sunao.py index f578f03..72b91fa 100644 --- a/Aakhbar_Padke_Sunao.py +++ b/Aakhbar_Padke_Sunao.py @@ -9,6 +9,7 @@ def speak(str): if __name__ == '__main__': import requests + url1 =('https://newsapi.org/v2/top-headlines?country=in&category=technology&sortBy=publishedAt&apiKey=1cb5d20289cb4960b610dc1205b16c55') url =('https://newsapi.org/v2/top-headlines?country=in&category=science&sortBy=publishedAt&apiKey=1cb5d20289cb4960b610dc1205b16c55') response = requests.get(url) From 0e6c8aa097148f0560cf36283a73f1ac0cc0bae2 Mon Sep 17 00:00:00 2001 From: PRABAL MINOTRA <113827487+PrabalMinotra@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:14:40 +0530 Subject: [PATCH 2/2] Update Copying_List.py --- Copying_List.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Copying_List.py b/Copying_List.py index 5ea9972..b191add 100644 --- a/Copying_List.py +++ b/Copying_List.py @@ -1,6 +1,6 @@ #perfect Solution - https://www.geeksforgeeks.org/python-cloning-copying-list/ #Best Way --------- -li1 = [4, 8, 2, 10, 15, 18] +li1 = [4, 3,2,4,5,6,7,5,4,3] li_copy = li1[:] @@ -10,4 +10,4 @@ #Total 10 Ways -#Refer Link For Solution \ No newline at end of file +#Refer Link For Solution