title: How to config a canvas.create_text() in function in Tkinter?
body: <p>While learning Tkinter, I got a problem while creating a function for a button.
  I need to config a canvas text in function. But I don't know how to do it.</p>
  <pre><code>canvas.create_text(700,350,font=(&quot;Arial Bold&quot;, 35),fill='white')
  def clicked():
        res = &quot;THANKYOU &quot; + txt.get()
        res1.config(text=res)
  </code></pre>
  <p>I want that <code>res1</code> to be that <code>canvas.create_text()</code></p>