4 ms·
You can also write sets in a more compact notation in python as: {1,2,3} & {1,2} Which gives {1,2} as a result.
by zenogais 11y ago
You can also write sets in a more compact notation in python as:
{1,2,3} & {1,2}
Which gives {1,2} as a result.