ports = []
for item in host['data']:
ports.append(item['port'])
bot.send_message(message.chat.id, f"Порты: {ports}" )
ports = ""
for item in host['data']:
ports += str(item['port']) + ", "
bot.send_message(message.chat.id, f"Порты: {ports[:-2]}" )
response = bot.send_message(chat_id=chat_id, text=answer)
message_id = response.message_id
bot.edit_message_text('55555555', chat_id=*************, message_id=message_id)
sql = "UPDATE main SET balance = balance + ? \
WHERE user_id = ?"
val = (15, user)