


# Function to print upper half of diamond (pyramid)





def   _UpperCAmelCase       (     UpperCAmelCase      :			Optional[int]      ):
      """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   _UpperCAmelCase       (     UpperCAmelCase      :			Optional[Any]      ):
      """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   _UpperCAmelCase       (     UpperCAmelCase      :			Union[str, Any]      ):
      """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'|/  \| |- |_ |_  |__| | \/ | |_')
    __UpperCamelCase    :						Any     =							1
    while K:
        __UpperCamelCase    :						Optional[int]     =							int(input('enter the number and , and see the magic : '))
        print()
        pretty_print(user_number)
        __UpperCamelCase    :						Union[str, Any]     =							int(input('press 0 to exit... and 1 to continue...'))

    print('Good Bye...')







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__UpperCamelCase    :						Any     =							{
    'configuration_timesformer': ['TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP', 'TimesformerConfig'],
}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    __UpperCamelCase    :						int     =							[
        'TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
        'TimesformerModel',
        'TimesformerForVideoClassification',
        'TimesformerPreTrainedModel',
    ]

if TYPE_CHECKING:
    from .configuration_timesformer import TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, TimesformerConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_timesformer import (
            TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
            TimesformerForVideoClassification,
            TimesformerModel,
            TimesformerPreTrainedModel,
        )

else:
    import sys

    __UpperCamelCase    :						List[Any]     =							_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)



