print (" Результат " + f + " = " + a)
again = input(" Продолжим? Y/N: ").lower()
if again == 'y':
@dp.message_handler(commands=['help'])
async def help_msg(message: types.Message):
if message.chat.type == "private": # if message.chat.type == "supergroup": Для беседы
start_msg1 = (
"Не работает ?\n"
"Введите /start"
)
await message.answer(text=start_msg1)
async def user(message: types.Message):
await bot.send_message(message.chat.id,f'123')
async def on_startup(_):
asyncio.create_task(user())
if __name__ == "__main__":
executor.start_polling(dp, skip_updates=True, on_startup=on_startup)