'''simple docstring'''

import requests

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







def __UpperCamelCase(   _A					:				List[str]    ):
   '''simple docstring'''
   # fetching a list of articles in json format
   UpperCAmelCase__							:				Any   				=  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'''

def __UpperCamelCase(   _A					:				str  ,			_A					:				str    ):
   '''simple docstring'''
   UpperCAmelCase__							:				int   				=  len(_A    )
   UpperCAmelCase__							:				int   				=  len(_A    )
   UpperCAmelCase__							:				int   				=  (
       first_str_length if first_str_length > second_str_length else second_str_length
   )
   UpperCAmelCase__							:				list   				=  []
   for char_count in range(_A    ):
      if char_count < first_str_length:
         output_list.append(first_str[char_count]    )
      if char_count < second_str_length:
         output_list.append(second_str[char_count]    )
   return "".join(_A    )


if __name__ == "__main__":
  print(alternative_string_arrange('AB', 'XYZ'), end=' ')




