mirror of
https://github.com/RustyRaptor/CS278.git
synced 2026-12-03 20:15:16 -07:00
lab 5 in progress
This commit is contained in:
1 parent
4d990bea09
commit
5d5ca75b9f
1 file changed
+11
@@ -0,0 +1,11 @@
|
||||
import itertools
|
||||
|
||||
|
||||
def bin_count(size):
|
||||
for i in itertools.product([0, 1], repeat=size):
|
||||
yield i
|
||||
|
||||
|
||||
size_of = int(input("Please enter the size of S: "))
|
||||
set_A = [char for char in input("Please enter the elements of S: ")]
|
||||
|
||||
Reference in new issue
Block a user