예제 #1
0
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)
예제 #2
0
async def fullweek(message):
    week, day = functions.getweekdata()
    answer = functions.getanswer(week, day, "nextweek")
    for i in answer:
        await message.answer(i)