Home >>Python Set Methods >Python Set copy() Method
Python set copy() method is used to copy the given input set.
set.copy()
fruits = {"apple", "banana", "mango"} x = fruits.copy() print(x)