prog3_4.py

age = input("あなたは何歳ですか?")
next_age = int(age) + 1
print("あなたは来年", next_age, "歳です!")

# プログラム3-4(翌年の年齢 ②)