bot.py
def message_handler(message):
    """If the bot state for a message/call sender is POLYGON.

       If entered vertex coordinates are valid, save them,
       send the assigned answer and 'Done' markup"""
    ans = coord.polygon_manual(message)

    markup = telebot.types.InlineKeyboardMarkup()
    markup.add(telebot.types.InlineKeyboardButton('Done', callback_data='done'))

    bot.send_message(message.chat.id, ans, parse_mode='HTML', reply_markup=markup)
If the bot state for a message/call sender is POLYGON.

       If entered vertex coordinates are valid, save them,
       send the assigned answer and 'Done' markup
If the bot state for a message/call sender is POLYGON.
If entered vertex coordinates are valid, save them,
send the assigned answer and 'Done' markup
If the bot state for a message / call sender is POLYGON . If entered vertex coordinates are valid save them send the assigned answer and ' Done ' markup
def message_handler(message):
    ans = coord.polygon_manual(message)
    markup = telebot.types.InlineKeyboardMarkup()
    markup.add(telebot.types.InlineKeyboardButton('Done', callback_data='done'))
    bot.send_message(message.chat.id, ans, parse_mode='HTML', reply_markup=markup)
def message_handler ( message ) : ans = coord . polygon_manual ( message ) markup = telebot . types . InlineKeyboardMarkup ( ) markup . add ( telebot . types . InlineKeyboardButton ( 'Done' , callback_data = 'done' ) ) bot . send_message ( message . chat . id , ans , parse_mode = 'HTML' , reply_markup = markup )
If the bot state for a message/call sender is POLYGON.
If the bot state for a message / call sender is POLYGON .
"""If the bot state for a message/call sender is POLYGON.

       If entered vertex coordinates are valid, save them,
       send the assigned answer and 'Done' markup"""
message