Q1: $103 \times 89$
Q2: $103 \times 108$
Q3: $95 \times 108$
Q4: $89 \times 109$
Q5: $91 \times 91$ Yash
Q6: $79 \times 91$ Aakash
Q7: $69 \times 87$ Simran
Q8: $88 \times 88$ Sameer
Yash total 20 | a*b | a = [75-95], b = [101-121]
Sameer total 20 | a*b | a = [85-105], b = [78-115]
Aakash total 20 | a*b | a = [77-99], b = [101-130]
Simran total 20 | a*b | a = [69-99], b = [75-112]
In [106]:
def get_pair_numbers():
import random
random.seed()
set1 = [random.randint(76, 115) for _ in range(1,21 ,1)]
random.seed()
set2 = [random.randint(76, 115) for _ in range(1,21 ,1)]
return [(a,b) for (a,b) in zip(set1, set2)]
In [107]:
[print(str(a) + " x " + str(b)) for (a,b) in get_pair_numbers()]
Out[107]: