# -*- coding: utf-8 -*- # list.py ... リストの使い方 # 初期値をリストで与えるので、意味のあるプログラムではないが。 words = [ "abc", "ghi", "xyz" ] x = [] # 空のリストを作る for i in range(3): x.append(words[i]) for word in x: print word