def __init__(self, frame: Frame, action: Action) -> None: self._button: Button = CalculatorButton( row=2, column=1, text='5', frame=frame, command=lambda: action.click(number='5'))
def __init__(self, frame: Frame, action: Action) -> None: self._button: Button = CalculatorButton( row=5, column=3, text='%', frame=frame, command=lambda: action.click(operator='%'))