Make A Set In Python
May 2024
Make sets with {} or set()
=
Output:
{'alfa', 'charlie', 'bravo', 'delta'}
Note that alfa only shows up once in the output
end of line
Make sets with {} or set()
=
{'alfa', 'charlie', 'bravo', 'delta'}
Note that alfa only shows up once in the output