def f3():
from functools import reduce
numbers = list(map(int, input("Введите числа: ").split(' ')))
odd_positive = sum([x for x in numbers if x > 0 and x % 2 == 1])
return sum(odd_positive)/len(odd_positive)def f1():
numbers = list(map(int, input("Введите числа: ").split(' ')))
max_number = max(numbers)
max_index = numbers.index(max_number)
return max_number, max_index
def f2():
from functools import reduce
numbers = list(map(int, input("Введите числа: ").split(' ')))
sum_positive = sum([x for x in numbers if x > 0])
product_even_negative = reduce(lambda a, x: a*x, [n for n in numbers if n % 2 == 0 and n < 0])
return sum_positive , product_even_negative
def f3():
numbers = list(map(int, input("Введите числа: ").split(' ')))
new_numbers = [x for x in numbers if x > 0 and x % 2 == 1]
return sum(new_numbers)/len(new_numbers)