<garvit244>90_1.py
def subsetsWithDup( nums):
    result = [[]]
    for num in nums:
        for index in range(len(result)):
            new_list = result[index] + [num]
            new_list.sort()
            result.append(new_list)
    unique = set(tuple(val) for val in result)
    return list(list(val) for val in unique)
def sample_funcname ( var_0 ) :
    var_1 = [ [ ] ]
    for var_2 in var_0 :
        for var_5 in range ( len ( var_1 ) ) :
            var_6 = var_1 [ var_5 ] + [ var_2 ]
            var_6.sort ( )
            var_1.append ( var_6 )
    var_12 = set ( tuple ( var_11 ) for var_11 in var_1 )
    return list ( list ( var_11 ) for var_11 in var_12 )
