
'''simple docstring'''


import requests

__lowercase							:   Any					=     '''https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey='''




def lowercase_	(   _lowercase				)     ->							None:
					'''simple docstring'''

					lowerCamelCase_					:      Tuple     =		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'''


import os
from math import logaa




def lowercase_	(   _lowercase = "base_exp.txt"				)     ->							int:
					'''simple docstring'''

					lowerCamelCase_					:      float     =		0
					lowerCamelCase_					:      Dict     =		0
					for i, line in enumerate(open(os.path.join(os.path.dirname(_lowercase				)			,       _lowercase				)				)				):
										lowerCamelCase_,      lowerCamelCase_					:      Dict     =		list(map(_lowercase			,       line.split(''','''				)				)				)
										if x * logaa(_lowercase				) > largest:
															lowerCamelCase_					:      List[str]     =		x * logaa(_lowercase				)
															lowerCamelCase_					:      Union[str, Any]     =		i + 1
					return result


if __name__ == "__main__":
					print(solution())


