From 443831358966776c2ee61d199675a71de577f12e Mon Sep 17 00:00:00 2001 From: VladEpifanov <124862300+VladEpifanov@users.noreply.github.com> Date: Sun, 23 Apr 2023 14:54:28 +0300 Subject: [PATCH] Update tgBot(try-exc-finally+usage of func-s in wwfuncs.py).py --- .../tgBot(try-exc-finally+usage of func-s in wwfuncs.py).py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Задания/task1/Epifanov/tgBot(try-exc-finally+usage of func-s in wwfuncs.py).py b/Задания/task1/Epifanov/tgBot(try-exc-finally+usage of func-s in wwfuncs.py).py index 5aa490e..4b804da 100644 --- a/Задания/task1/Epifanov/tgBot(try-exc-finally+usage of func-s in wwfuncs.py).py +++ b/Задания/task1/Epifanov/tgBot(try-exc-finally+usage of func-s in wwfuncs.py).py @@ -40,7 +40,7 @@ def start(m, res=False): @bot.message_handler(content_types=["text"]) def handle_text(message): - if (message.text.strip() == "Хочу информацию о любых цвеах, пожалуйста"): + if (message.text.strip() == "Хочу информацию о любых цветах, пожалуйста"): i = random.choice(arr) a1 = f'Название: {i[1]};\nЦена: {i[2]};\nСкидка(в процентах): {i[3]};\n' bot.send_message(message.chat.id, a1)