S
S
senyadev02018-10-06 20:03:44
Python
senyadev0, 2018-10-06 20:03:44

How to get an example from a message, calculate and send?

I write a command to the bot, let's say "bot 10 + 14", then we remove the bot and get "10 + 14", this example needs to be calculated and sent back.
how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2018-10-06
@senyadev0

https://axiacore.com/blog/mathematical-expression-...
https://github.com/Axiacore/py-expression-eval

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question