text: # variable used inside a function
  from turtle import *
  
  def triangle():
      forward(a)
      left(120)
      forward(a)
      left(120)
      forward(a)
      left(120)
      forward(a)
  
  a = 50
  triangle()
  a = 100
  triangle()
  a = 150
  triangle()
  
  done()