All problems
EasySets
Set union
Union of {1,2,3} and {3,4,5} — print sorted.
- #set
- #union
Sample input
{1,2,3}, {3,4,5}Sample output
[1, 2, 3, 4, 5]
set-union.py
Output
Press "Run code" to execute.
Loading…
Union of {1,2,3} and {3,4,5} — print sorted.
{1,2,3}, {3,4,5}[1, 2, 3, 4, 5]
Press "Run code" to execute.