




"""simple docstring"""




import requests

lowerCamelCase__			:       Optional[int]         =							'https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey='

def  UpperCAmelCase_							(				__UpperCAmelCase						:     str							) ->			None:
      # fetching a list of articles in json format
      SCREAMING_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>')





import random
from typing import Any

def  UpperCAmelCase_							(				__UpperCAmelCase						:     list							) ->			list[Any]:
      for _ in range(len(__UpperCAmelCase							)							):
            SCREAMING_SNAKE_CASE_     						=      random.randint(0      ,      len(__UpperCAmelCase							) - 1							)
            SCREAMING_SNAKE_CASE_     						=      random.randint(0      ,      len(__UpperCAmelCase							) - 1							)
            SCREAMING_SNAKE_CASE_						,			SCREAMING_SNAKE_CASE_     						=      data[b], data[a]
      return data


if __name__ == "__main__":
   lowerCamelCase__			:       Union[str, Any]         =							[0, 1, 2, 3, 4, 5, 6, 7]
   lowerCamelCase__			:       Optional[int]         =							['python', 'says', 'hello', '!']
   print('Fisher-Yates Shuffle:')
   print('List', integers, strings)
   print('FY Shuffle', fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))