prog10_19.py

it = iter("喜怒哀楽")
for emotion in it:
    print(f"{emotion}!")

# プログラム10-19(イテレータをfor文で使う)