This and your wiring don't match. You wired your buttons as active high with external pulldown resistors, but you wrote your code as active low with internal pullup resistors.
I can't make sense of this:
What do you want: active high or active low?
This and your wiring don't match. You wired your buttons as active high with external pulldown resistors, but you wrote your code as active low with internal pullup resistors.
I can't make sense of this:
What do you want: active high or active low?