


'''simple docstring'''



def      _a     (						_lowercase :     List[str]      , _lowercase :     str  ):





     '''simple docstring'''






     return 1 if input_a == input_a else 0




def      _a     (						):





     '''simple docstring'''






     assert xnor_gate(0      , 0  ) == 1
     assert xnor_gate(0      , 1  ) == 0
     assert xnor_gate(1      , 0  ) == 0
     assert xnor_gate(1      , 1  ) == 1


if __name__ == "__main__":
   print(xnor_gate(0, 0))
   print(xnor_gate(0, 1))
   print(xnor_gate(1, 0))
   print(xnor_gate(1, 1))



'''simple docstring'''



import requests

__UpperCAmelCase      :Union[str, Any]			    =       "https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey="




def      _a     (						_lowercase :     str  ):





     '''simple docstring'''






     __UpperCAmelCase     :			Union[str, 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>")