diff --git a/lab5/lab5.py b/lab5/lab5.py index e69de29..1f78986 100644 --- a/lab5/lab5.py +++ b/lab5/lab5.py @@ -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: ")] +