def addKeyboardSymbol(self, event):
    'Displays the inputted char onto the display'
    self.stringContents += str(repr(event.char))[1:(- 1)]
    self.displayStr.set(self.stringContents)
Displays the inputted char onto the display
def addKeyboardSymbol(self, event):
    
    self.stringContents += str(repr(event.char))[1:(- 1)]
    self.displayStr.set(self.stringContents)