






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


A__      :     Union[str, Any]       =					{
    'configuration_xlm_roberta_xl': [
        'XLM_ROBERTA_XL_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'XLMRobertaXLConfig',
        'XLMRobertaXLOnnxConfig',
    ],
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							A__      :     List[Any]       =					[
							    'XLM_ROBERTA_XL_PRETRAINED_MODEL_ARCHIVE_LIST',
							    'XLMRobertaXLForCausalLM',
							    'XLMRobertaXLForMaskedLM',
							    'XLMRobertaXLForMultipleChoice',
							    'XLMRobertaXLForQuestionAnswering',
							    'XLMRobertaXLForSequenceClassification',
							    'XLMRobertaXLForTokenClassification',
							    'XLMRobertaXLModel',
							    'XLMRobertaXLPreTrainedModel',
							]

if TYPE_CHECKING:
							from .configuration_xlm_roberta_xl import (
							    XLM_ROBERTA_XL_PRETRAINED_CONFIG_ARCHIVE_MAP,
							    XLMRobertaXLConfig,
							    XLMRobertaXLOnnxConfig,
							)

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_xlm_roberta_xl import (
														    XLM_ROBERTA_XL_PRETRAINED_MODEL_ARCHIVE_LIST,
														    XLMRobertaXLForCausalLM,
														    XLMRobertaXLForMaskedLM,
														    XLMRobertaXLForMultipleChoice,
														    XLMRobertaXLForQuestionAnswering,
														    XLMRobertaXLForSequenceClassification,
														    XLMRobertaXLForTokenClassification,
														    XLMRobertaXLModel,
														    XLMRobertaXLPreTrainedModel,
														)

else:
							import sys

							A__      :     List[str]       =					_LazyModule(__name__, globals()['__file__'], _import_structure)












import sys
import turtle






def     a     (		lowerCamelCase_						,  lowerCamelCase_							):






				'''simple docstring'''
				return (pa[0] + pa[0]) / 2, (pa[1] + pa[1]) / 2






def     a     (		lowerCamelCase_						,  lowerCamelCase_						,  lowerCamelCase_						,  lowerCamelCase_						,  ):






				'''simple docstring'''
				my_pen.up()
				my_pen.goto(vertexa[0]						,  vertexa[1]							)
				my_pen.down()
				my_pen.goto(vertexa[0]						,  vertexa[1]							)
				my_pen.goto(vertexa[0]						,  vertexa[1]							)
				my_pen.goto(vertexa[0]						,  vertexa[1]							)

				if depth == 0:
								return

				triangle(lowerCamelCase_						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  depth - 1							)
				triangle(lowerCamelCase_						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  depth - 1							)
				triangle(lowerCamelCase_						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  depth - 1							)


if __name__ == "__main__":
							if len(sys.argv) != 2:
														raise ValueError(
														    'Correct format for using this script: '
														    'python fractals.py <int:depth_for_fractal>'
														)
							A__      :     Dict       =					turtle.Turtle()
							my_pen.ht()
							my_pen.speed(5)
							my_pen.pencolor('red')

							A__      :     Union[str, Any]       =					[(-1_75, -1_25), (0, 1_75), (1_75, -1_25)]  # vertices of triangle
							triangle(vertices[0], vertices[1], vertices[2], int(sys.argv[1]))




