
class 							UpperCAmelCase      :  # Public class to implement a graph




	'''simple docstring'''





	def __init__(       self					: Optional[Any]							,A					: int							,A					: int							,A					: list[list[bool]] ):
					__A   			= row
					__A   			= col
					__A   			= graph






	def 				UpperCamelCase_  (       self					: int							,A					: int							,A					: int							,A					: list[list[bool]] ):
					return (
					    0 <= i < self.ROW
					    and 0 <= j < self.COL
					    and not visited[i][j]
					    and self.graph[i][j]
					)






	def 				UpperCamelCase_  (       self					: List[str]							,A					: int							,A					: int							,A					: list[list[bool]] ):
					__A   			= [-1, -1, -1, 0, 0, 1, 1, 1]  # Coordinate order
					__A   			= [-1, 0, 1, -1, 1, -1, 0, 1]
					__A   			= True  # Make those cells visited
					for k in range(8 ):
									if self.is_safe(i + row_nbr[k]							,j + col_nbr[k]							,_A ):
													self.diffs(i + row_nbr[k]							,j + col_nbr[k]							,_A )







	def 				UpperCamelCase_  (       self					: Any ):  # And finally, count all islands.
					__A   			= [[False for j in range(self.COL )] for i in range(self.ROW )]
					__A   			= 0
					for i in range(self.ROW ):
									for j in range(self.COL ):
													if visited[i][j] is False and self.graph[i][j] == 1:
																	self.diffs(_A							,_A							,_A )
																	count += 1
					return count




'''simple docstring'''
import pprint

import requests

UpperCamelCase__    					=      '''https://zenquotes.io/api'''





def 					a__       (					)    ->	list:
    return requests.get(API_ENDPOINT_URL + '''/today'''						).json()





def 					a__       (					)    ->	list:
    return requests.get(API_ENDPOINT_URL + '''/random'''						).json()


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