lint spacing

This commit is contained in:
NarayanAdithya
2020-10-19 22:21:37 +05:30
parent b89c9c3178
commit 98b91030d6

View File

@@ -1,6 +1,5 @@
from .__init__ import * from .__init__ import *
def set_operation(minval = 3, maxval = 7, n_a = 4, n_b = 5): def set_operation(minval = 3, maxval = 7, n_a = 4, n_b = 5):
number_variables_a = random.randint(minval, maxval) number_variables_a = random.randint(minval, maxval)
number_variables_b = random.randint(minval, maxval) number_variables_b = random.randint(minval, maxval)
@@ -10,7 +9,6 @@ def set_operation(minval=3,maxval=7,n_a=4,n_b=5):
a.append(random.randint(1, 10)) a.append(random.randint(1, 10))
for i in range(number_variables_b): for i in range(number_variables_b):
b.append(random.randint(1, 10)) b.append(random.randint(1, 10))
a=set(a) a=set(a)
b=set(b) b=set(b)
problem = "Given the two sets a=" + str(a) + " ,b=" + str(b) + ".Find the Union,intersection,a-b,b-a and symmetric difference" problem = "Given the two sets a=" + str(a) + " ,b=" + str(b) + ".Find the Union,intersection,a-b,b-a and symmetric difference"