prog9_11.py

fruits = ["apple", "kiwi", "momo"]
for i, fruit in enumerate(fruits):
    print(f"{i}: {fruit}")

# プログラム9-11(enumerateの使い方)