Лучшие помощники
- Megamozg 2205 б
- Matalya1 1800 б
- DevAdmin 1720 б
- arkasha_bortnikov 895 б
- Dwayne_Johnson 860 б
2 апреля 2023 00:20
312
Помогите пожалуйста!!!!Разработчики языка Python придерживаются определённой философии программирования, называемой «The Zen of Python» («Дзен Питона»). Её текст выдаётся интерпретатором Python по команде import this.
Напишите программу, состоящую из одной строки:
import thisКакое первое слово в последней строке выведет эта программа?

1
ответ
Ответ:
Namespaces
Объяснение:
Когда мы напишем import this, мы получим:
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
Namespaces
Объяснение:
Когда мы напишем import this, мы получим:
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
0
·
Хороший ответ
4 апреля 2023 00:20
Остались вопросы?
Еще вопросы по категории Информатика
Сколько информации содержит 1,5 часовой цветной фильм, если 1 кадр содержит 1 Мбайт информации, а за 1 секунду сменяется 25 кадров. (рассчитать в Мега...
объясните почему позиционные системы счисления с основаниями 5, 10, 12, 20 называют системами счисления анатомического происхождения...
Положение курсора в слове с ошибкой отмечено чертой: ИГРР| Чтобы исправить ошибку следует нажать клавишу: А)<Delete> Б)<Backspace> В)&l...
Дайте верные ответы на вопросы кроссворда и в ключевом поле узнаете название операционной системы, версии которой названы в честь сладостей? 1 В логот...
Вычислите десятичные эквиваленты следующих чисел. Число Десятичный эквивалент числа 2016,8 степени 2014, 5 степени...