Example #1
0
def factor(update: Update, context: CallbackContext):
    args = context.args
    message = update.effective_message
    message.reply_text(newton.factor("{}".format(args[0])))
Example #2
0
def factor(bot: Bot, update: Update, args: List[str]):
    message = update.effective_message
    message.reply_text(newton.factor('{}'.format(join(args))))
Example #3
0
def factor(bot: Bot, update: Update, args: List[str]):
    message = update.effective_message
    message.reply_text(newton.factor("{}".format(args[0])))
Example #4
0
def factor(update: Update, context: CallbackContext):
    args = context.args
    message = update.effective_message
    message.reply_text(newton.factor(f"{args[0]}"))
Example #5
0
def factor(update, context: List[str]):
    args = context.args
    message = update.effective_message
    message.reply_text(newton.factor('{}'.format(args[0])))