В
Все
М
Математика
О
ОБЖ
У
Українська мова
Д
Другие предметы
Х
Химия
М
Музыка
Н
Немецкий язык
Б
Беларуская мова
Э
Экономика
Ф
Физика
Б
Биология
О
Окружающий мир
Р
Русский язык
У
Українська література
Ф
Французский язык
П
Психология
А
Алгебра
О
Обществознание
М
МХК
В
Видео-ответы
Г
География
П
Право
Г
Геометрия
А
Английский язык
И
Информатика
Қ
Қазақ тiлi
Л
Литература
И
История
Anettalove35
Anettalove35
07.02.2022 10:33 •  Информатика

, очень нужно до завтра, )


, очень нужно до завтра, )

Показать ответ
Ответ:
анастасия1520
анастасия1520
12.01.2021 00:32

с окно

Объяснение:

The 25th of May

Classwork

Проверочная работа.

Выполни задания проверочной работы письменно в тетради.

Прочитай рассказ и выполни упражнение после него:

The man and the monkeys.

    One day a man who made caps went to the market to sell them. It was a long way to go. The man passed  by a long river. When he was in the forest, he decided to rest a little, as the day was very hot and he was very tired.

  The man saw a large tree. He decided to rest under it.

  As the sun was very hot, the man put on one of the caps on his head and put all the other caps on the ground under the tree. The man had lunch, then lay down and soon was asleep. When he woke up, he could not find the caps.

“Where are my caps?” he cried. He could not find them anywhere.  

    Suddenly he looked up. And what did he see? He saw many monkeys in the tree, and each monkey had the man’s cap on its head!

“Give me back my caps!” cried the man. But the monkeys could not understand the man. They laughed, jumped and played with the caps.

The man asked and asked the monkeys to give him back his caps, but the monkeys didn’t understand him. They only laughed.

The man got very much angry with the monkeys. He took off his cap, threw it on the ground and cried: “If you want my caps, you may take this one, too!”

And do you know what the monkeys did? They took off the caps and threw them on the ground!

That’s how the man got back all his caps.

Certainly, he was very glad. He quickly took all his caps and went away.

Определи, предложения True – соответствуют тексту или False –не соответствуют тексту. (Первое предложение сделано как образец).

One day a man went to the baker`s to sell caps.- False

The man passed by a lake.

The day was very hot and the man was tired.

The man saw a large mountain.

When the man woke up he didn`t find the caps.

Each monkey had the cap on its head.

The monkeys understood him well.

The man went away without his caps.

0,0(0 оценок)
Ответ:
AlanaBelkina
AlanaBelkina
31.10.2020 18:17

import statistics  

import typing  

from typing import Callable

def Transform(predicate: Callable[[int], bool], Array:list, NewValue: int):

   for index, item in enumerate(Array):

       if predicate(item):

           Array[index] = NewValue  

   return Array

           

def ReadSeq(Len):

   for _ in range(Len):

       yield int(input())

       

def main():

   seq = list(ReadSeq(10))

   average = statistics.mean(seq)

   TSeq = Transform(lambda p: p > average, seq, 1)

   print(*TSeq)

   

if __name__ == '__main__':

   main()

Объяснение:

0,0(0 оценок)
Популярные вопросы: Информатика
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота