Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Aakhbar_Padke_Sunao.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Copying_List.py
Original file line number Diff line number Diff line change
@@ -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[:]


Expand All @@ -10,4 +10,4 @@


#Total 10 Ways
#Refer Link For Solution
#Refer Link For Solution