

'''simple docstring'''



# Function to print upper half of diamond (pyramid)







def    a__       (  a__						):




     """simple docstring"""


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







def    a__       (  a__						):




     """simple docstring"""


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







def    a__       (  a__						):




     """simple docstring"""


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


if __name__ == "__main__":
  print(R'| /\ | |- |  |-  |--| |\  /| |-')
  print(R'|/  \| |- |_ |_  |__| | \/ | |_')
  UpperCAmelCase :       Dict			   =     1
  while K:
    UpperCAmelCase :       str			   =     int(input('enter the number and , and see the magic : '))
    print()
    pretty_print(user_number)
    UpperCAmelCase :       Tuple			   =     int(input('press 0 to exit... and 1 to continue...'))

  print('Good Bye...')









'''simple docstring'''



def    a__       (  a__						):




     """simple docstring"""


     if isinstance(a__      ,    a__						):
          raise TypeError("""'float' object cannot be interpreted as an integer"""						)
     if isinstance(a__      ,    a__						):
          raise TypeError("""'str' object cannot be interpreted as an integer"""						)

     if num == 0:
          return "0b0"

     __SCREAMING_SNAKE_CASE     =      False

     if num < 0:
          __SCREAMING_SNAKE_CASE     =      True
          __SCREAMING_SNAKE_CASE     =      -num

     __SCREAMING_SNAKE_CASE     =      []
     while num > 0:
          binary.insert(0      ,    num % 2						)
          num >>= 1

     if negative:
          return "-0b" + "".join(str(a__						) for e in binary						)

     return "0b" + "".join(str(a__						) for e in binary						)


if __name__ == "__main__":
  import doctest

  doctest.testmod()






