



'''simple docstring'''





import sys
import turtle




def lowerCAmelCase    (__A    ,      __A):



     """simple docstring"""



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




def lowerCAmelCase    (__A    ,      __A    ,      __A    ,      __A    ,      ):



     """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(__A    ,      get_mid(__A    ,      __A)    ,      get_mid(__A    ,      __A)    ,      depth - 1)
     triangle(__A    ,      get_mid(__A    ,      __A)    ,      get_mid(__A    ,      __A)    ,      depth - 1)
     triangle(__A    ,      get_mid(__A    ,      __A)    ,      get_mid(__A    ,      __A)    ,      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>"
    )
  lowercase_									=    turtle.Turtle()
  my_pen.ht()
  my_pen.speed(5)
  my_pen.pencolor("red")

  lowercase_									=    [(-175, -125), (0, 175), (175, -125)]  # vertices of triangle
  triangle(vertices[0], vertices[1], vertices[2], int(sys.argv[1]))








'''simple docstring'''





def lowerCAmelCase    (__A    ,      __A):



     """simple docstring"""



     if digit_amount > 0:
          return round(number - int(__A)    ,      __A)
     return number - int(__A)


if __name__ == "__main__":
  print(decimal_isolate(1.53, 0))
  print(decimal_isolate(35.345, 1))
  print(decimal_isolate(35.345, 2))
  print(decimal_isolate(35.345, 3))
  print(decimal_isolate(-14.789, 3))
  print(decimal_isolate(0, 2))
  print(decimal_isolate(-14.123, 1))
  print(decimal_isolate(-14.123, 2))
  print(decimal_isolate(-14.123, 3))



