from random import randint as ri print(f'{(s:=[ri(-9, 9) for _ in range(8)])}\nЧисел меньше 0: {sum(map(lambda x: x < 0, s))}')