- 47 名前:デフォルトの名無しさん mailto:sage [2008/05/01(木) 20:53:06 ]
- >>34
def dictize(word): for k,v in zip(idx,word): temp[k] = v return temp idx = ['e', 'j', 'r', 'i', 'f'] hello = ["hello", "こん", "ズドラストヴィーチェ", "buongiorno", "bonjur"] hello = dictize(hello) # 識別子hello を 辞書化 hello # 素のhelloリスト (データ) こんなかんじやね。じこかいけつしました
|

|