Crypted message in a Python lesson... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Crypted message in a Python lesson...

In the Python course, in the "More types" module, in the "Text analyzer" lesson, there is a text that, at first sight, looks like nonsense. But in fact, it's a crypted message that says (in the answers, because I don't have enough space here ;) ) :

2nd Feb 2017, 4:17 PM
Myrmeks
Myrmeks - avatar
3 Answers
+ 2
Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complicated. Flat is better than nested. Sparse si better than dense. Readability counts. Special cases aren't special enoguh to break the rules. Although practicality betas purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation ot guess. There should be one-- and preferablyonly one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than neever. 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!
2nd Feb 2017, 4:17 PM
Myrmeks
Myrmeks - avatar
+ 2
For those who want, the code that I wrote to uncrypt it is on my page.
3rd Feb 2017, 9:22 PM
Myrmeks
Myrmeks - avatar
0
Python' s golden rules: went through the course too fast. Didn't notice. Might get back there after reading your post.
2nd Feb 2017, 6:05 PM
seamiki
seamiki - avatar