prog6_10.py

for x in "喜怒哀楽":
    print(f"{x}?")

# プログラム6-10(for文で文字列を扱う)