import random
array = [int(random.randint(1, 100)) for _ in range(10)]
min_num = array[0]
for num in array:
if num < min_num:
min_num = num
print(array)
print(min_num)
import random
array = [int(random.randint(1, 100)) for _ in range(10)]
min_num = array[0]
for num in array:
if num < min_num:
min_num = num
print(array)
print(min_num)