from random import randint
a, b = list([randint(-100, 100) for i in range(randint(10, 100))] for i in range(2))
array = list(set(a) & set(b))
array.sort()
for i in array:
print(i)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
from random import randint
a, b = list([randint(-100, 100) for i in range(randint(10, 100))] for i in range(2))
array = list(set(a) & set(b))
array.sort()
for i in array:
print(i)