Examveda
Examveda

What is the purpose of the set() constructor in Python?

A. Creates a new set

B. Converts a list to a set

C. Converts a string to a set

D. Creates a tuple

Answer: Option A


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python