title: Create reset button for number guessing game
body: <p>I'm making a number guessing game for a tutorial in Python. I'm new to Python and using Python Shell and version 2.7.5. I've made all the functions besides this one.</p>
  
  <p>I have to make a reset button and that is messing with my mind. I have no clue how to define it. </p>
  
  <pre><code>self.reset_bttn = Button(self, text = "Starta om", command=reset)
          self.reset_bttn.grid(row = 6, column = 1, sticky = W)
  
  def reset():
          global
  </code></pre>
  
  <p>This is the beginning of the code with some of the labels. </p>
  
  <pre><code>from Tkinter import *
  import random
  number = random.randrange (100) + 1
  tries = 0
  class Application(Frame):
  
      def __init__(self, master):
  
          Frame.__init__(self, master)
          self.grid()
          self.create_widgets()
  
  
      def create_widgets(self):
  
          self.inst_lbl = Label(self, text = "Följ alla stegen")
          self.inst_lbl.grid(row = 0, column = 0, columnspan = 2, sticky = W)
  
          self.name_lbl = Label(self, text = "Spelarens namn: ")
          self.name_lbl.grid(row = 1, column = 0, sticky = W)
  
          self.name_ent = Entry(self)
          self.name_ent.grid(row = 1, column = 1, sticky = W)
  
          self.guess_lbl = Label(self, text = "Skriv in din gissning.")
          self.guess_lbl.grid(row = 2, column = 0, sticky = W)
  
          self.guess_ent = Entry(self)
          self.guess_ent.grid(row = 2, column = 1, sticky = W)
  
          self.gap1_lbl = Label(self, text = " ")
          self.gap1_lbl.grid(row = 3, column = 0, sticky = W)
  </code></pre>