





import requests

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





def      _lowercase					(						_UpperCAmelCase				)						->  None:
				# fetching a list of articles in json format
				lowerCamelCase	 =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>''')












def      _lowercase					(						_UpperCAmelCase			,      _UpperCAmelCase				)						->  List[str]:
				lowerCamelCase	 =[0 for i in range(r + 1				)]
				# nc0 = 1
				lowerCamelCase	 =1
				for i in range(1			,      n + 1				):
								# to compute current row from previous row.
								lowerCamelCase	 =min(_UpperCAmelCase			,      _UpperCAmelCase				)
								while j > 0:
												c[j] += c[j - 1]
												j -= 1
				return c[r]




print(binomial_coefficient(n=10, r=5))





