Python スクリプトで名前付きリストのリストを作成する必要があります。
私がやりたいことは、リスト内の文字列を取り、各文字列に名前を付けたリストを作成する mklist メソッドを作成することです。だから、ここから:
a = "area"
for i in range(1, 37):
x = str(a) + str("%02d" % (i,))
' '.join(x.split())
私は以下を取得したい:
area01 = []
area02 = []
area03 = []
area04 = []
area05 = []
area06 = []
area07 = []
area08 = []
area09 = []
area10 = []
area11 = []
area12 = []
area13 = []
area14 = []
area15 = []
area16 = []
area17 = []
area18 = []
area19 = []
area20 = []
area21 = []
area22 = []
area23 = []
area24 = []
area25 = []
area26 = []
area27 = []
area28 = []
area29 = []
area30 = []
area31 = []
area32 = []
area33 = []
area34 = []
area35 = []
area36 = []
何かアドバイス?私はそれを得ることができないようです。ありがとう!え