wtfpython
wtfpython copied to clipboard
What the f*ck Python? 😱
I found the current "hash brownies" example and explanation confusing, so I'm proposing these changes. This is clearer because it focuses on *equivalence* as the key principle first, without muddying...
fix bug: `'''` means multi-line output in print function
add an example about apply reverse operation to an assign variable may cause unexpected error.
**Section**: [Appearences are deceptive!](https://github.com/satwikkansal/wtfpython#section-appearances-are-deceptive) (Open to any recommendations to add it to another section) **Link** (not yet added in the table of contents): [Sets discriminating values?](https://github.com/Vibhu-Agarwal/wtfpython#-sets-discriminating-values-) **Concept**: A set object...
Maybe, it should be 'dictionary' here?
The ideia is pretty much improve the explanation of why `'a'[0][0][0][0][0]` is syntactically correct.
Why? a is b
python: 3.7.1 