

'''simple docstring'''

import requests

SCREAMING_SNAKE_CASE							:				List[Any]     	=			"https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey="




def 							_UpperCamelCase				(   lowerCAmelCase__:					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>")













def 				__lowerCamelCase     (							__lowerCAmelCase							:					str							)     ->  bool:
   if not all(x.isalpha() for x in string							):
      raise ValueError("""String must only contain alphabetic characters."""							)

   __UpperCamelCase	:			List[str]					=					sorted(string.lower()							)
   return len(__lowerCAmelCase							) == len(set(__lowerCAmelCase							)							)


if __name__ == "__main__":
       UpperCamelCase    							=      input('Enter a string ').strip()

       UpperCamelCase    							=      is_isogram(input_str)
       print(F"""{input_str} is {'an' if isogram else 'not an'} isogram.""")



