






"""simple docstring"""


# Function to print upper half of diamond (pyramid)










def       snake_case  (A_				:Tuple				):







  '''simple docstring'''

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




def       snake_case  (A_				:List[str]				):







  '''simple docstring'''

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




def       snake_case  (A_				:int				):







  '''simple docstring'''

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


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

   print('Good Bye...')












"""simple docstring"""


def       snake_case  (A_				:str     ,      A_				:bool = False				):







  '''simple docstring'''

  if not isinstance(A_     ,      A_				):
    a					:      Union[str, Any]    =       f'''Expected string as input, found {type(A_				)}'''
    raise ValueError(A_				)
  if not isinstance(A_     ,      A_				):
    a					:      Optional[int]    =       f'''Expected boolean as use_pascal parameter, found {type(A_				)}'''
    raise ValueError(A_				)

  a					:      Tuple    =       input_str.split('_'				)

  a					:      Dict    =       0 if use_pascal else 1

  a					:      int    =       words[start_index:]

  a					:      int    =       [word[0].upper() + word[1:] for word in words_to_capitalize]

  a					:      List[str]    =       '' if use_pascal else words[0]

  return "".join([initial_word, *capitalized_words]				)


if __name__ == "__main__":
   from doctest import testmod

   testmod()




