Delete one or more characters of the spinbox. first is the index of the first character to delete, and last is the index of the character just after the last one to delete. If last is omitted, a single character at first is deleted.
tkinter/Spinbox.delete
Spinbox.delete