リスト

Python

Pythonでのリスト操作

リストAからリストBを削除する ラムダ式を使っている。 listA = listB = listA = list(filter(lambda x:x not in listB, listA)) print(listA) # リストAとリスト...
スポンサーリンク