Creates a python set.
pySet(pyVar var_name) // creating Set from another python variable pySet(arg0, arg1…) // creating set from elements
Element to be inserted in the set
Element to be inserted in the set
pyList or pyTuple which has to be converted to a set
Creates and returns a python set containing the arguments passed or transforms python list or tuple into a set. Arguments can be of type int, double, string, bool or python variable.
--> pySet(1,2,3,4,1,2) ans = {1, 2, 3, 4}
--> L = pyList(1,2,3,4,1,2) L = [1, 2, 3, 4, 1, 2] --> S = pySet(L) S = {1, 2, 3, 4}