stations = ("東京", "大宮", "長野", "富山", "金沢")
print(f"len(stations)は{len(stations)}です")
print(f"stations[2]は{stations[2]}です")
stations += ("福井", "敦賀")
print(stations)
print(f"長野のインデックスは{stations.index('長野')}です")
print("1つ置きなら", stations[::2])
print("反転すると", tuple(reversed(stations))) # stations[::-1]でもよい
# プログラム9-3(駅名の並びをタプルとして扱う)