title: How can I add two and more buttons in python turtle
body: <p>I want to make 2 and more buttons working</p>
  
  <p>I tried to change def name,add another py file and I have one result.Just one button was working</p>
  
  <pre><code>t.setpos(-170,-30)
  t.pendown()
  t.forward(300)
  t.left(90)
  t.forward(150)
  t.left(90)
  t.forward(300)
  t.left(90)
  t.forward(150)
  t.penup()
  t.write("START", font=("Calibri",80))
  def btnclick(x,y):
     if x&gt;-170 and x&lt;130 and y&gt;-30 and y&lt;120:
        print("hello") 
  turtle.onscreenclick(btnclick)
  turtle.listen()
  t.setpos(170,-30)
  t.pendown()
  t.left(90)
  t.forward(300)
  t.left(90)
  t.forward(150)
  t.left(90)
  t.forward(300)
  t.left(90)
  t.forward(150)
  t.penup()
  t.write("CREDITS", font=("Calibri",80))
  def btnclick(x,y):
     if x&gt;170 and x&lt;430 and y&gt;-30 and y&lt;120:
        print("hello1") 
  turtle.onscreenclick(btnclick)
  turtle.listen()
  </code></pre>
  
  <p>I want to make 2 and more buttons working</p>