What is the output of the following program?
set1 = {1, 2, 3} set2 = set1.copy() set2.add(4) print(set1)
{1, 2, 3, 4}
{1, 2, 3}
Invalid Syntax
Error
This question is part of this quiz :