



'''simple docstring'''





import requests

lowercase_	 =						"https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey="




def lowerCAmelCase						(__A):



					"""simple docstring"""



					_a											=						requests.get(_NEWS_API + bbc_news_api_key).json()
					# each article in the list is a dict
					for i, article in enumerate(bbc_news_page['''articles''']						,			1):
										print(F'''{i}.) {article['title']}''')


if __name__ == "__main__":
		fetch_bbc_news(bbc_news_api_key="<Your BBC News API key goes here>")








'''simple docstring'''





# This is the module that test_patching.py uses to test patch_submodule()

import os  # noqa: this is just for tests
import os as renamed_os  # noqa: this is just for tests
from os import path  # noqa: this is just for tests
from os import path as renamed_path  # noqa: this is just for tests
from os.path import join  # noqa: this is just for tests
from os.path import join as renamed_join  # noqa: this is just for tests


lowercase_	 =						open  # noqa: we just need to have a builtin inside this module to test it properly



