@ Introducing Python: Modern Computing in Simple Packages by Bill Lubanovic (No. 432 / 12833)
L'importation a été publiée.
@ paiza
https://paiza.io/?locale=ja-jp Exécutez avec "Essayer la création de code (gratuit)".
// Here your code !
import this
print("XXXXXXXX")
~~```txt:résultat main.swift:2:8: error: no such module 'this' import this
(Ajout 2017/01/09)
Comme l'a confirmé @nukorou, l'œuf de Pâques était également affiché à paiza.
@ ideone > Python (version 2?)
http://ideone.com/q2dtSc
```py
# your code goes here
import this
résultat
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!
https://www.tutorialspoint.com/execute_python_online.php
# Hello World program in Python
import this
print "Hello World!\n"
résultat
sh-4.3$ python main.py
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!
Hello World!
sh-4.3$
http://www.tutorialspoint.com/execute_bash_online.php
--Procédure --Entrez python --Entrez importez ceci (l'œuf de Pâques est affiché) --Fin avec quitter ()
~~ Il y a une différence dans la façon d'implémenter Python. (Bien que la méthode de mise en œuvre interne spécifique soit inconnue). ~~
L'œuf de l'Est a été présenté dans tout ce qui précède.
J'ai vu un article selon lequel certains environnements d'exécution de code en ligne empêchent intentionnellement certaines importations.
Recommended Posts