



'''simple docstring'''





import requests

_lowerCAmelCase      						=	'''https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey='''
def    _SCREAMING_SNAKE_CASE  (       UpperCamelCase			):



    """simple docstring"""





    lowerCAmelCase__ :  List[str]							      =					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 	__SCREAMING_SNAKE_CASE  (					__UpperCamelCase    :       int ,     __UpperCamelCase    :       int	)							->					str:







  """simple docstring"""





  if a < 0 or b < 0:
    raise ValueError("""the value of both inputs must be positive"""	)

  SCREAMING_SNAKE_CASE__										=      str(bin(__UpperCamelCase	)	)[2:]  # remove the leading "0b"
  SCREAMING_SNAKE_CASE__										=      str(bin(__UpperCamelCase	)	)[2:]  # remove the leading "0b"

  SCREAMING_SNAKE_CASE__										=      max(len(__UpperCamelCase	) ,     len(__UpperCamelCase	)	)

  return "0b" + "".join(
      str(int(char_a != char_b	)	)
      for char_a, char_b in zip(a_binary.zfill(__UpperCamelCase	) ,     b_binary.zfill(__UpperCamelCase	)	)	)


if __name__ == "__main__":
   import doctest

   doctest.testmod()
