def goodsChapter(message):
x = 0
markup = types.ReplyKeyboardMarkup(resize_keyboard=True)
while x < row_lengthO1-3:
x = x + 1
exec(f"{function_names} = types.KeyboardButton(' '+str({massivT}))")
markup.row(exec(f"{function_names},"))
exec(f"{function_names} = types.KeyboardButton(' '+str({massivT}))")
markup.row(exec(f"{function_names},"))