I added code tags to your code.
**Important** You need to do this on future posts, read BBCODE section under help/rules
you are creating 10 buttons but each new one is overwriting the previous which has been assigned to b
the only one that remains is the last one (number 9).
in addition, you need to create your geometry, wither grid, pack, or place for each button
create an array for your buttons, and append each button to the array
as each button is created, don't forget to add a grid, pack, or place command for each button
**Important** You need to do this on future posts, read BBCODE section under help/rules
you are creating 10 buttons but each new one is overwriting the previous which has been assigned to b
the only one that remains is the last one (number 9).
in addition, you need to create your geometry, wither grid, pack, or place for each button
create an array for your buttons, and append each button to the array
as each button is created, don't forget to add a grid, pack, or place command for each button