

import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script







@require_cpu
class 			lowercase    (	unittest.TestCase      ):




				def    a							( self	):
											debug_launcher(test_script.main	)




				def    a							( self	):
											debug_launcher(test_ops.main	)







import requests

_UpperCAmelCase		:       Union[str, Any]						    =	"""https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey="""





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							snake_case_          =   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>""")




