




"""simple docstring"""

class        lowercase      :







				def __init__(							self   :					Tuple      ,     _lowerCamelCase   :					list[int]       ):



					"""simple docstring"""

					A_  :				Tuple	   =		len(_lowerCamelCase       )
					A_  :				List[Any]	   =		[0] * len_array

					if len_array > 0:
						A_  :				List[str]	   =		array[0]

					for i in range(1      ,     _lowerCamelCase       ):
						A_  :				str	   =		self.prefix_sum[i - 1] + array[i]







				def 					a_  (							self   :					Any      ,     _lowerCamelCase   :					int      ,     _lowerCamelCase   :					int       ):



					"""simple docstring"""

					if start == 0:
						return self.prefix_sum[end]

					return self.prefix_sum[end] - self.prefix_sum[start - 1]







				def 					a_  (							self   :					str      ,     _lowerCamelCase   :					int       ):



					"""simple docstring"""

					A_  :				List[str]	   =		{0}
					for sum_item in self.prefix_sum:
						if sum_item - target_sum in sums:
							return True

						sums.add(_lowerCamelCase       )

					return False


if __name__ == "__main__":
		import doctest

		doctest.testmod()











"""simple docstring"""

# Function to print upper half of diamond (pyramid)

def 		lowercase_      (		_UpperCAmelCase	):




	"""simple docstring"""






	for i in range(0  ,      _UpperCAmelCase	):
		for _ in range(0  ,      n - i - 1	):  # printing spaces
			print(''' '''  ,      end=''''''	)
		for _ in range(0  ,      i + 1	):  # printing stars
			print('''* '''  ,      end=''''''	)
		print()

def 		lowercase_      (		_UpperCAmelCase	):




	"""simple docstring"""






	for i in range(_UpperCAmelCase  ,      0  ,      -1	):
		for _ in range(_UpperCAmelCase  ,      0  ,      -1	):  # printing stars
			print('''* '''  ,      end=''''''	)
		print()
		for _ in range(n - i + 1  ,      0  ,      -1	):  # printing spaces
			print(''' '''  ,      end=''''''	)

def 		lowercase_      (		_UpperCAmelCase	):




	"""simple docstring"""






	if n <= 0:
		print('''       ...       ....        nothing printing :('''	)
		return
	floyd(_UpperCAmelCase	)  # upper half
	reverse_floyd(_UpperCAmelCase	)  # lower half


if __name__ == "__main__":
		print(r'| /\ | |- |  |-  |--| |\  /| |-')
		print(r'|/  \| |- |_ |_  |__| | \/ | |_')
		_lowerCamelCase  :			Tuple        =       1
		while K:
				_lowerCamelCase  :			Optional[int]        =       int(input('enter the number and , and see the magic : '))
				print()
				pretty_print(user_number)
				_lowerCamelCase  :			Optional[Any]        =       int(input('press 0 to exit... and 1 to continue...'))

		print('Good Bye...')





