0
a = [int(i) for i in input().split()]
n = int(input())
filter_number = list(filter(lambda x, y:x < y))
print(filter_number(a,n))

программа должна возвращать значение элемента массива а < n

1 ответ 1

1
a = [int(i) for i in input().split()]
n = int(input())
filter_number = list(filter(lambda x: x < n, a))
print(filter_number)

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge you have read our privacy policy.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.