2012-05-16 Pythonで要素数を指定して空配列を作成 Python http://anon21.qlookblog.net/20100926.m.html?guid=ON a = [0] * 3 print a #=> [0,0,0]