翌月を返す

from datetime import datetime

def next_month(mm):
    # 与えられた月を1加算し、範囲を1~12に制限する
    next_mm = (mm + 1) % 13
    if next_mm == 0:
        next_mm = 1
    return next_mm

# テスト
current_month = datetime.now().month
next_month_number = next_month(current_month)
print("今月:", current_month)
print("翌月:", next_month_number)