Предмет: Информатика, автор: krasav4iki

ЗАДАЧА № 5. Лучший пожарник. В соревновании "Лучший пожарник" были допущены трое: Абенов, Ковалев, Мукажанов. Соревнования проходили в два тура. В первом туре Абенов набрал t1 баллов, Ковалев - t2, Мукажанов - t3. Во втором туре Абенов набрал 1- баллов, Ковалев - b2, Мукажанов - b3. Составьте программу определяющего победителя соревнования.​

Ответы

Автор ответа: DK404
0

Ответ:

Python:

print("Enter score with spaces.\nForm: score_1 score_2")

score_abenov = sum(map(float,input("Abenov: ").split()))

score_kovalev = sum(map(float,input("Kovalev: ").split()))

score_mykaganov = sum(map(float,input("Mykaganov: ").split()))

print("Winner: " + "Abenov" if max(score_abenov,score_kovalev,score_mykaganov) == score_abenov else "Kovalev" if max(score_abenov,score_kovalev,score_mykaganov) == score_kovalev else "Mykaganov")

Объяснение:

Надеюсь что помогла.

Похожие вопросы
Предмет: Английский язык, автор: evaketb123
СРОЧНО ДАЮ 4
0 БАЛЛОВ


Project «Teenage years»

Have you ever talked to your parents or grandparents about what life was like when they were young? What did they tell you? What did they do in their free time? Were there any computers? How did they listen to music? Do you think life for teenagers was better of worse at that time? Why? Today you are going to write a project about an older person's teenage years.

Exerсise 1.
Read the interview summary. Match paragraphs A–E with the interview questions 1–5.

What are your special memories?
What was different in the seventies?
What did teenagers wear then?
What music did you like?
What did you do in your free time?
UNCLE STEVE’s LIFE AS A TEENAGER IN THE 70’s

A. There was a lot less technology in those days, People didn’t have mobile phones and they didn’t text. They didn’t have the internet either, so when he wanted to research something for school, he had to go to the library!

B. Steve was into bands like Led Zeppelin, Queen and Pink Floyd. He remembers that The Beatles were breaking up then. There weren’t any MP3 players or CDs in those days. People played vinyl records on big record players.

C. Steve and his friends used to ride bikes and spend time at each other’s homes. There were no computer games, so he used to read a lot of books!

D. Fashion was fun and very colourful. Trousers with wide bottoms were trendy and skirts were all different lengths. It was fashionable for both girls and guys to have long hair

E. His special memories were of lazy evenings outdoors with his friends during the long, hot summer of ’76. It was so dry that there wasn’t enough water and some houses had their supply cut off!

Exerсise 2.
Write about an older person’s teenage years. Follow the steps in the project checklist.

PROJECT CHECKLIST
Think of an older person who you can interview (a relative, a neighbour, etc.).
Interview the person and make notes of their answers.
Write a summary of the interview. Organize your writing into sections.
Find photos on the internet or in magazines to illustrate the person’s memories.

Write no less than 100–120 words.
Предмет: Информатика, автор: pppopppdd
Предмет: Математика, автор: alinababka5