<qiyuangong>090_Subsets_II_1.py
def get_subsets( nums, magic):
    res = []
    for i in range(len(nums)):
        if (1 << i) & magic != 0:
            res.append(nums[i])
    return res
def sample_funcname ( var_0 , var_1 ) :
    var_2 = [ ]
    for var_5 in range ( len ( var_0 ) ) :
        if ( 1 << var_5 ) & var_1 != 0 :
            var_2.append ( var_0 [ var_5 ] )
    return var_2
