| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/DIVYA-19/python/master/subsetsGenerating.py | [Back] [Original] |
n = 5
a = [1,2,3,4,5]
noOfSubs = 1 0):
if bit & 1 == 1:
temp.append(a[pos])
pass
bit >>= 1
pos -= 1
subs.append(temp)
print(subs)
| Web Proxy Viewer | New URL | Original Page |