input.onButtonPressed(Button.A, function () { basic.clearScreen() szam += -1 basic.showNumber(0) }) input.onButtonPressed(Button.B, function () { basic.clearScreen() szam += 1 basic.showNumber(0) }) let szam = 0 basic.showLeds(` . . . . . . # . # . # # . # # . # . # . . . . . . `)