



from __future__ import annotations

import os
from typing import Any

import requests

__lowerCamelCase         =			'''https://api.github.com'''

# https://docs.github.com/en/free-pro-team@latest/rest/reference/users#get-the-authenticated-user
__lowerCamelCase         =			BASE_URL + '''/user'''

# https://github.com/settings/tokens
__lowerCamelCase         =			os.environ.get('''USER_TOKEN''', '''''')







def    _snake_case (       __snake_case    )     ->     dict[Any, Any]:






      '''simple docstring'''







      UpperCAmelCase_  :	int				      =		{
          "Authorization": F"""token {auth_token}""",
          "Accept": "application/vnd.github.v3+json",
      }
      return requests.get(__snake_case					,  headers=__snake_case    ).json()


if __name__ == "__main__":  # pragma: no cover
    if USER_TOKEN:
        for key, value in fetch_github_info(USER_TOKEN).items():
            print(F'''{key}: {value}''')
    else:
        raise ValueError('''\'USER_TOKEN\' field cannot be empty.''')





def    _snake_case (       __snake_case					,  __snake_case    )     ->     int:






      '''simple docstring'''







      return int((input_a, input_a).count(0    ) != 0    )







def    _snake_case (       )     ->     None:






      '''simple docstring'''







      assert nand_gate(0					,  0    ) == 1
      assert nand_gate(0					,  1    ) == 1
      assert nand_gate(1					,  0    ) == 1
      assert nand_gate(1					,  1    ) == 0


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