Answers for "how to subtract 2 lists in python"

4

how to subtract 2 lists in python

[item for item in x if item not in y]
Posted by: Guest on September-21-2020
0

how to subtract 2 lists in python

myList1 = {12,9}
myList2= {3,7}
subtraction = myList1-myList2
print(subtraction)
Posted by: Guest on June-27-2021

Code answers related to "how to subtract 2 lists in python"

Python Answers by Framework

Browse Popular Code Answers by Language