sscasc@tumkur sets sets are like lists in that you use them for storing collection of elements unlike liststhe elements in set are non-duplicates and are not placed in any particular order creating sets python provides data structure that represents mathematical set as with mathematical setselements of set are enclosed inside pair of curly braces (}the elements are non-duplicateseparated by commas you can create an empty setor you can create set from list or tupleas shown in the following exampless setcreate an empty set { create set with three elements set([ ]create set from tuple exampleprogram to convert tuple into set#we can make set out of list functionl [ =set(lprint(lprint( { using the set conversion exampleoperations on setss { add( print( )#prints { print(len( )#prints print(max( )#prints print(min( )#prints print(sum( )sp_python programming