2.0 KiB
What the f*ck Python!
[![NPM version][npm-image]][npm-url]
A collection of tricky Python examples
Python being an awesomoe higher level language, provides us many functionalities for our comfort. But sometimes, the outcomes may not seem obvious to a normal Python user at the first sight. Here's an attempt to collect such examples and see what exactly is happening under the hood! I find it a nice way to learn internals of a language and I think you'll like them as well!
Table of Contents
Table of Contents generated with DocToc
Checklist
[ ] https://www.youtube.com/watch?v=sH4XF6pKKmk [ ] https://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_python/
👀 Examples
Example heading
One line of what's happening:
setting up
>>> triggering_statement
weird output
💡 Explanation:
- Better to give outside links
- or just explain again in brief
Contributing
All patches are Welcome! Filing an issue first before submitting a patch will be appreciated :)
Acknowledgements
The idea and design for this list is inspired from Denys Dovhan's awesome project wtfjs.
- Reddit Link
- Youtube video link