нужно построить схемы алгоритмов к трем этим задачам! 1.
from random import uniform
n = int(input('длина списка:\n'))
a = [uniform(-1, 9) for _ in range(n)]
print(*a)
print()
c = float(input('контрольное число:\n'))
count_less_c = sum(1 for num in a if num < c)
print(count_less_c)
print()
2.from random import uniform
n = int(input('длина списка:\n'))
a = [uniform(-1, 9) for _ in range(n)]
print(*a)
print()
k = n
for i in range(n-1, -1, -1):
if a[i] < 0:
k = i + 1
break
sum_int = 0
if k < n:
sum_int = sum(int(a[k:]))
print(sum_int)
print()
3.from random import uniform
n = int(input('длина списка:\n'))
a = [uniform(-1, 9) for _ in range(n)]
print(*a)
print()
max_a = max(a)
b = [num for num in a if num >= 0.8*max(a)]
c = [num for num in a if num < 0.8* max(a)]
print("ответ: ", *(b+c))