V
V
Vabots2021-11-05 16:30:32
Python
Vabots, 2021-11-05 16:30:32

How to get multiple sheet values?

There is a list ['#asfasf', '#asfsaf', '#asfsdsaf']

It is required to get the values ​​tag_1, tag_2, tag_3 from it.
Where tag_1 = #asfasf', tag_2 = #asfsaf', tag_3 =

#asfsdsaf I get them from tags = re.findall(r'#\w*\b', message.text)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
LXSTVAYNE, 2021-11-05
@Vabots

https://www.tutorialspoint.com/python/python_lists.htm

S
Sergey Gornostaev, 2021-11-05
@sergey-gornostaev

Not required. The appearance of number variables in the code is a sign that the programmer is doing something wrong.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question