TypeError Traceback (most recent call last)
<ipython-input-40-679def262032> in <module>
20 prg = ('python', 'java', 'c#')
21 # タプルをリストに変換
---> 22 lst = list(prg)
23 # リストに追加
24 lst.append('ruby')
TypeError: 'tuple' object is not callable
とでます、Python初心者なのですがPython3では
リスト関数でタプルをリスト化することはできないのでしょうか…?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。