


import requests

_snake_case  :	List[str]			      =       "YOUR API KEY"







def        lowerCAmelCase_  (      __lowerCamelCase							,			__lowerCamelCase = giphy_api_key			):
							__snake_case	:    Dict											=     "+".join(query.split()			)
							__snake_case	:    Optional[int]											=     F'https://api.giphy.com/v1/gifs/search?q={formatted_query}&api_key={api_key}'
							__snake_case	:    Optional[int]											=     requests.get(__lowerCamelCase			).json()["data"]
							return [gif["url"] for gif in gifs]


if __name__ == "__main__":
			print("\n".join(get_gifs("space ship")))





def        lowerCAmelCase_  (      __lowerCamelCase							,			__lowerCamelCase			):
							return int((input_a, input_a).count(0			) == 0			)







def        lowerCAmelCase_  (      ):
							assert and_gate(0							,			0			) == 0
							assert and_gate(0							,			1			) == 0
							assert and_gate(1							,			0			) == 0
							assert and_gate(1							,			1			) == 1


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

