Examveda
Examveda

What is the purpose of the union() method for sets?

A. Returns a new set with elements from both sets

B. Combines elements of two sets

C. Returns the intersection of two sets

D. Returns the difference of two sets

Answer: Option A


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python