Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python difference

set_a = {'a', 'b', 'c'}
set_b = {'b'}
set_c = set_a.difference(set_b)
print(set_c) # => {'c', 'a'} Retrieves difference = set_a - set_b
Source by eolnuha.com #
 
PREVIOUS NEXT
Tagged: #python #difference
ADD COMMENT
Topic
Name
7+1 =