Sum Qo'D tob 'e' SoH
jeD ngeH maHaD 'e roj message maHa might consider
leaving SoH yong roj 'baD yInD SoHDa Haup lives
jeD ngeH maHaD 'e roj message maHa might consider
作成:例list[0]
についてのpython3リスト私はこのリストに変換することができますどのよう
[['Sum', 'Qo'D', 'tob', "'e'", 'SoH'],
['jeD', 'ngeH', 'maHaD', "'e", 'roj', 'maHa', 'might'],
['leaving', 'SoH', 'yong', 'roj', "'baD", 'yInD', 'SoHDa', 'Haup']
['jeD', 'ngeH', 'maHaD', "'e", 'roj', 'message', 'maHa', 'might', 'consider']]
は['Sum', 'Qo'D', 'tob', "'e'", 'SoH']
またはlist[0][0]
がSum
です。
見る(
list
はPython 3map
返すイテレータため必要とされる):[ 'str.split()'](HTTPS://docs.python .org/3/library/stdtypes.html#str.split)。 –