Bind event is giving me a bug.

The Python computer language

eneskristogmailcom
While working with tkinter in python 3.3, I had the following problem.
def get_text(event):
            self.number_of_competitors = entered_text.get()
            try:
                self.number_of_competitors = int(self.number_of_competitors)
            except:
                pass
            if type(self.number_of_competitors) == int:
                root.destroy()
            else:
                label.config(text = "Enter the number of competitors. Please enter a number.")
root = Tk()
label = Label(root, text = "Enter the number of competitors.")
label.pack(side = TOP)
entered_text = Entry(root)
entered_text.pack()
Button(root, text = "Submit", command = get_text).pack()
root.bind('<Enter>', get_text)
root.mainloop()

This is a buggy part of the code. When I run it, instead of doing what it should do, it responds to all events BUT enter. I'm not sure if this error is on tkinters or my side. Please help!                                            
Peter
Quoting http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/event-types.html
"""
Enter    
The user moved the mouse pointer into a visible part of a widget. (This is 
different than the enter key, which is a KeyPress event for a key whose name 
is actually 'return'.)
"""

So I think you want "<Return>", not "<Enter>".