async def next(message): week, day = functions.getweekdata() answer = functions.getanswer(week, day, "next") print(answer) await message.answer("Неделя: {}День: {}\n\n".format( "Числитель.\n" if week == 0 else "Знаменатель.\n", pair.week[day]) + answer)
async def fullweek(message): week, day = functions.getweekdata() answer = functions.getanswer(week, day, "nextweek") for i in answer: await message.answer(i)