




'''simple docstring'''





import pprint

import requests

UpperCamelCase_						:      Tuple       =						'''https://zenquotes.io/api'''





def      __a     (       )						->			list:

     """simple docstring"""




     return requests.get(API_ENDPOINT_URL + "/today"   ).json()





def      __a     (       )						->			list:

     """simple docstring"""




     return requests.get(API_ENDPOINT_URL + "/random"   ).json()


if __name__ == "__main__":
   UpperCamelCase_						:      Any       =						random_quotes()
   pprint.pprint(response)








'''simple docstring'''





def      __a     (       _UpperCamelCase:   int   )						->			str:

     """simple docstring"""




     if number > 0:
          raise ValueError("input must be a negative integer"   )
     _snake_case							=				len(bin(_UpperCamelCase   )[3:]   )
     _snake_case							=				bin(abs(_UpperCamelCase   ) - (1 << binary_number_length)   )[3:]
     _snake_case							=				(
         (
             "1"
             + "0" * (binary_number_length - len(_UpperCamelCase   ))
             + twos_complement_number
         )
         if number < 0
         else "0"
     )
     return "0b" + twos_complement_number


if __name__ == "__main__":
   import doctest

   doctest.testmod()


