V
V
VKR2282020-07-26 01:47:23
Python
VKR228, 2020-07-26 01:47:23

How to display text from variable in telegram bot? More precisely, output 2 variables as in print?

It is necessary that when you press a button from the keyboard in telegram, the text from the variable appears. Who can help? More precisely print 2 variables as in print

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zexer, 2020-07-26
@zexer

a = 'Some'
b = 'Text'
print(f'This is {a} {b}'
#out: "This is Some Text"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question