René's URL Explorer Experiment


Title: GitHub - VRathi03/wtfpython: Exploring Python through counter-intuitive snippets. If you think you know Python, think once more!

Open Graph Title: GitHub - VRathi03/wtfpython: Exploring Python through counter-intuitive snippets. If you think you know Python, think once more!

X Title: GitHub - VRathi03/wtfpython: Exploring Python through counter-intuitive snippets. If you think you know Python, think once more!

Description: Exploring Python through counter-intuitive snippets. If you think you know Python, think once more! - VRathi03/wtfpython

Open Graph Description: Exploring Python through counter-intuitive snippets. If you think you know Python, think once more! - VRathi03/wtfpython

X Description: Exploring Python through counter-intuitive snippets. If you think you know Python, think once more! - VRathi03/wtfpython

Opengraph URL: https://github.com/VRathi03/wtfpython

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:23a5fa7e-5622-877e-1466-d1253e6ce1e8
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idEAE0:20E038:8747AC:B10920:696B50F6
html-safe-nonce9b614264d1aec6eac4a89beba72e74eea3d64268abf952607b4ab4d2a5c9184f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUUwOjIwRTAzODo4NzQ3QUM6QjEwOTIwOjY5NkI1MEY2IiwidmlzaXRvcl9pZCI6IjE1Mjg5NDMzNTkxMDk1ODMwOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdc6b957caacd28096f6d092b03f5d79805adc4e5734c4bded05fc4aaaa23b6ff
hovercard-subject-tagrepository:231572340
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/VRathi03/wtfpython
twitter:imagehttps://opengraph.githubassets.com/c734d3dd34c03dcaf2a99bf17bdd234159cdb21f130ff0e192c67047f5c0345d/VRathi03/wtfpython
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c734d3dd34c03dcaf2a99bf17bdd234159cdb21f130ff0e192c67047f5c0345d/VRathi03/wtfpython
og:image:altExploring Python through counter-intuitive snippets. If you think you know Python, think once more! - VRathi03/wtfpython
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/VRathi03/wtfpython git https://github.com/VRathi03/wtfpython.git
octolytics-dimension-user_id11988299
octolytics-dimension-user_loginVRathi03
octolytics-dimension-repository_id231572340
octolytics-dimension-repository_nwoVRathi03/wtfpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id101684374
octolytics-dimension-repository_parent_nwosatwikkansal/wtfpython
octolytics-dimension-repository_network_root_id101684374
octolytics-dimension-repository_network_root_nwosatwikkansal/wtfpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/VRathi03/wtfpython#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FVRathi03%2Fwtfpython
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FVRathi03%2Fwtfpython
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=VRathi03%2Fwtfpython
Reloadhttps://github.com/VRathi03/wtfpython
Reloadhttps://github.com/VRathi03/wtfpython
Reloadhttps://github.com/VRathi03/wtfpython
VRathi03 https://github.com/VRathi03
wtfpythonhttps://github.com/VRathi03/wtfpython
satwikkansal/wtfpythonhttps://github.com/satwikkansal/wtfpython
Notifications https://github.com/login?return_to=%2FVRathi03%2Fwtfpython
Fork 0 https://github.com/login?return_to=%2FVRathi03%2Fwtfpython
Star 0 https://github.com/login?return_to=%2FVRathi03%2Fwtfpython
WTFPL license https://github.com/VRathi03/wtfpython/blob/master/LICENSE
0 stars https://github.com/VRathi03/wtfpython/stargazers
2.7k forks https://github.com/VRathi03/wtfpython/forks
Branches https://github.com/VRathi03/wtfpython/branches
Tags https://github.com/VRathi03/wtfpython/tags
Activity https://github.com/VRathi03/wtfpython/activity
Star https://github.com/login?return_to=%2FVRathi03%2Fwtfpython
Notifications https://github.com/login?return_to=%2FVRathi03%2Fwtfpython
Code https://github.com/VRathi03/wtfpython
Pull requests 0 https://github.com/VRathi03/wtfpython/pulls
Actions https://github.com/VRathi03/wtfpython/actions
Projects 0 https://github.com/VRathi03/wtfpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/VRathi03/wtfpython/security
Please reload this pagehttps://github.com/VRathi03/wtfpython
Insights https://github.com/VRathi03/wtfpython/pulse
Code https://github.com/VRathi03/wtfpython
Pull requests https://github.com/VRathi03/wtfpython/pulls
Actions https://github.com/VRathi03/wtfpython/actions
Projects https://github.com/VRathi03/wtfpython/projects
Security https://github.com/VRathi03/wtfpython/security
Insights https://github.com/VRathi03/wtfpython/pulse
Brancheshttps://github.com/VRathi03/wtfpython/branches
Tagshttps://github.com/VRathi03/wtfpython/tags
https://github.com/VRathi03/wtfpython/branches
https://github.com/VRathi03/wtfpython/tags
392 Commitshttps://github.com/VRathi03/wtfpython/commits/master/
https://github.com/VRathi03/wtfpython/commits/master/
imageshttps://github.com/VRathi03/wtfpython/tree/master/images
imageshttps://github.com/VRathi03/wtfpython/tree/master/images
irrelevanthttps://github.com/VRathi03/wtfpython/tree/master/irrelevant
irrelevanthttps://github.com/VRathi03/wtfpython/tree/master/irrelevant
wtfpython-pypihttps://github.com/VRathi03/wtfpython/tree/master/wtfpython-pypi
wtfpython-pypihttps://github.com/VRathi03/wtfpython/tree/master/wtfpython-pypi
.gitattributeshttps://github.com/VRathi03/wtfpython/blob/master/.gitattributes
.gitattributeshttps://github.com/VRathi03/wtfpython/blob/master/.gitattributes
.gitignorehttps://github.com/VRathi03/wtfpython/blob/master/.gitignore
.gitignorehttps://github.com/VRathi03/wtfpython/blob/master/.gitignore
.travis.ymlhttps://github.com/VRathi03/wtfpython/blob/master/.travis.yml
.travis.ymlhttps://github.com/VRathi03/wtfpython/blob/master/.travis.yml
CONTRIBUTING.mdhttps://github.com/VRathi03/wtfpython/blob/master/CONTRIBUTING.md
CONTRIBUTING.mdhttps://github.com/VRathi03/wtfpython/blob/master/CONTRIBUTING.md
CONTRIBUTORS.mdhttps://github.com/VRathi03/wtfpython/blob/master/CONTRIBUTORS.md
CONTRIBUTORS.mdhttps://github.com/VRathi03/wtfpython/blob/master/CONTRIBUTORS.md
LICENSEhttps://github.com/VRathi03/wtfpython/blob/master/LICENSE
LICENSEhttps://github.com/VRathi03/wtfpython/blob/master/LICENSE
README.mdhttps://github.com/VRathi03/wtfpython/blob/master/README.md
README.mdhttps://github.com/VRathi03/wtfpython/blob/master/README.md
code-of-conduct.mdhttps://github.com/VRathi03/wtfpython/blob/master/code-of-conduct.md
code-of-conduct.mdhttps://github.com/VRathi03/wtfpython/blob/master/code-of-conduct.md
mixed_tabs_and_spaces.pyhttps://github.com/VRathi03/wtfpython/blob/master/mixed_tabs_and_spaces.py
mixed_tabs_and_spaces.pyhttps://github.com/VRathi03/wtfpython/blob/master/mixed_tabs_and_spaces.py
READMEhttps://github.com/VRathi03/wtfpython
Code of conducthttps://github.com/VRathi03/wtfpython
Contributinghttps://github.com/VRathi03/wtfpython
WTFPL licensehttps://github.com/VRathi03/wtfpython
https://github.com/VRathi03/wtfpython/blob/master/images/logo.png
https://github.com/VRathi03/wtfpython#what-the-fck-python-
Chinese 中文https://github.com/leisurelicht/wtfpython-cn
Add translationhttps://github.com/satwikkansal/wtfpython/issues/new?title=Add%20translation%20for%20%5BLANGUAGE%5D&body=Expected%20time%20to%20finish:%20%5BX%5D%20weeks.%20I%27ll%20start%20working%20on%20it%20from%20%5BY%5D.
Interactivehttps://colab.research.google.com/github/satwikkansal/wtfpython/blob/master/irrelevant/wtf.ipynb
CLIhttps://pypi.python.org/pypi/wtfpython
herehttps://github.com/satwikkansal/wtfpython/releases/
https://github.com/VRathi03/wtfpython#table-of-contents
Structure of the Exampleshttps://github.com/VRathi03/wtfpython#structure-of-the-examples
▶ Some fancy Titlehttps://github.com/VRathi03/wtfpython#-some-fancy-title
Usagehttps://github.com/VRathi03/wtfpython#usage
👀 Exampleshttps://github.com/VRathi03/wtfpython#-examples
Section: Strain your brain!https://github.com/VRathi03/wtfpython#section-strain-your-brain
▶ First things first! *https://github.com/VRathi03/wtfpython#-first-things-first-
▶ Strings can be tricky sometimeshttps://github.com/VRathi03/wtfpython#-strings-can-be-tricky-sometimes
▶ Be careful with chained operationshttps://github.com/VRathi03/wtfpython#-be-careful-with-chained-operations
▶ How not to use is operatorhttps://github.com/VRathi03/wtfpython#-how-not-to-use-is-operator
▶ Hash brownieshttps://github.com/VRathi03/wtfpython#-hash-brownies
▶ Deep down, we're all the same.https://github.com/VRathi03/wtfpython#-deep-down-were-all-the-same
▶ Disorder within order *https://github.com/VRathi03/wtfpython#-disorder-within-order-
▶ Keep trying... *https://github.com/VRathi03/wtfpython#-keep-trying-
▶ For what?https://github.com/VRathi03/wtfpython#-for-what
▶ Evaluation time discrepancyhttps://github.com/VRathi03/wtfpython#-evaluation-time-discrepancy
▶ is not ... is not is (not ...)https://github.com/VRathi03/wtfpython#-is-not--is-not-is-not-
▶ A tic-tac-toe where X wins in the first attempt!https://github.com/VRathi03/wtfpython#-a-tic-tac-toe-where-x-wins-in-the-first-attempt
▶ The sticky output functionhttps://github.com/VRathi03/wtfpython#-the-sticky-output-function
▶ The chicken-egg problem *https://github.com/VRathi03/wtfpython#-the-chicken-egg-problem-
▶ Subclass relationshipshttps://github.com/VRathi03/wtfpython#-subclass-relationships
▶ All-true-ation *https://github.com/VRathi03/wtfpython#-all-true-ation-
▶ The surprising commahttps://github.com/VRathi03/wtfpython#-the-surprising-comma
▶ Strings and the backslasheshttps://github.com/VRathi03/wtfpython#-strings-and-the-backslashes
▶ not knot!https://github.com/VRathi03/wtfpython#-not-knot
▶ Half triple-quoted stringshttps://github.com/VRathi03/wtfpython#-half-triple-quoted-strings
▶ What's wrong with booleans?https://github.com/VRathi03/wtfpython#-whats-wrong-with-booleans
▶ Class attributes and instance attributeshttps://github.com/VRathi03/wtfpython#-class-attributes-and-instance-attributes
▶ Non-reflexive class method *https://github.com/VRathi03/wtfpython#-non-reflexive-class-method-
▶ yielding Nonehttps://github.com/VRathi03/wtfpython#-yielding-none
▶ Yielding from... return! *https://github.com/VRathi03/wtfpython#-yielding-from-return-
▶ Nan-reflexivity *https://github.com/VRathi03/wtfpython#-nan-reflexivity-
▶ Mutating the immutable!https://github.com/VRathi03/wtfpython#-mutating-the-immutable
▶ The disappearing variable from outer scopehttps://github.com/VRathi03/wtfpython#-the-disappearing-variable-from-outer-scope
▶ The mysterious key type conversionhttps://github.com/VRathi03/wtfpython#-the-mysterious-key-type-conversion
▶ Let's see if you can guess this?https://github.com/VRathi03/wtfpython#-lets-see-if-you-can-guess-this
Section: Slippery Slopeshttps://github.com/VRathi03/wtfpython#section-slippery-slopes
▶ Modifying a dictionary while iterating over ithttps://github.com/VRathi03/wtfpython#-modifying-a-dictionary-while-iterating-over-it
▶ Stubborn del operationhttps://github.com/VRathi03/wtfpython#-stubborn-del-operation
▶ The out of scope variablehttps://github.com/VRathi03/wtfpython#-the-out-of-scope-variable
▶ Deleting a list item while iteratinghttps://github.com/VRathi03/wtfpython#-deleting-a-list-item-while-iterating
▶ Lossy zip of iterators *https://github.com/VRathi03/wtfpython#-lossy-zip-of-iterators-
▶ Loop variables leaking out!https://github.com/VRathi03/wtfpython#-loop-variables-leaking-out
▶ Beware of default mutable arguments!https://github.com/VRathi03/wtfpython#-beware-of-default-mutable-arguments
▶ Catching the Exceptionshttps://github.com/VRathi03/wtfpython#-catching-the-exceptions
▶ Same operands, different story!https://github.com/VRathi03/wtfpython#-same-operands-different-story
▶ Name resolution ignoring class scopehttps://github.com/VRathi03/wtfpython#-name-resolution-ignoring-class-scope
▶ Needles in a Haystack *https://github.com/VRathi03/wtfpython#-needles-in-a-haystack-
▶ Splitsies *https://github.com/VRathi03/wtfpython#-splitsies-
▶ Wild imports *https://github.com/VRathi03/wtfpython#-wild-imports-
▶ All sorted? *https://github.com/VRathi03/wtfpython#-all-sorted-
▶ Midnight time doesn't exist?https://github.com/VRathi03/wtfpython#-midnight-time-doesnt-exist
Section: The Hidden treasures!https://github.com/VRathi03/wtfpython#section-the-hidden-treasures
▶ Okay Python, Can you make me fly?https://github.com/VRathi03/wtfpython#-okay-python-can-you-make-me-fly
▶ goto, but why?https://github.com/VRathi03/wtfpython#-goto-but-why
▶ Brace yourself!https://github.com/VRathi03/wtfpython#-brace-yourself
▶ Let's meet Friendly Language Uncle For Lifehttps://github.com/VRathi03/wtfpython#-lets-meet-friendly-language-uncle-for-life
▶ Even Python understands that love is complicatedhttps://github.com/VRathi03/wtfpython#-even-python-understands-that-love-is-complicated
▶ Yes, it exists!https://github.com/VRathi03/wtfpython#-yes-it-exists
▶ Ellipsis *https://github.com/VRathi03/wtfpython#-ellipsis-
▶ Inpinityhttps://github.com/VRathi03/wtfpython#-inpinity
▶ Let's manglehttps://github.com/VRathi03/wtfpython#-lets-mangle
Section: Appearances are deceptive!https://github.com/VRathi03/wtfpython#section-appearances-are-deceptive
▶ Skipping lines?https://github.com/VRathi03/wtfpython#-skipping-lines
▶ Teleportationhttps://github.com/VRathi03/wtfpython#-teleportation
▶ Well, something is fishy...https://github.com/VRathi03/wtfpython#-well-something-is-fishy
Section: Miscellaneoushttps://github.com/VRathi03/wtfpython#section-miscellaneous
▶ += is fasterhttps://github.com/VRathi03/wtfpython#--is-faster
▶ Let's make a giant string!https://github.com/VRathi03/wtfpython#-lets-make-a-giant-string
▶ Minor Ones *https://github.com/VRathi03/wtfpython#-minor-ones-
Contributinghttps://github.com/VRathi03/wtfpython#contributing
Acknowledgementshttps://github.com/VRathi03/wtfpython#acknowledgements
🎓 Licensehttps://github.com/VRathi03/wtfpython#-license
Surprise your friends as well!https://github.com/VRathi03/wtfpython#surprise-your-friends-as-well
More content like this?https://github.com/VRathi03/wtfpython#more-content-like-this
https://github.com/VRathi03/wtfpython#structure-of-the-examples
https://github.com/VRathi03/wtfpython#-some-fancy-title
https://github.com/VRathi03/wtfpython#-explanation
https://github.com/VRathi03/wtfpython#usage
herehttps://github.com/satwikkansal/wtfPython
pypi packagehttps://pypi.python.org/pypi/wtfpython
https://github.com/VRathi03/wtfpython#-examples
https://github.com/VRathi03/wtfpython#section-strain-your-brain
https://github.com/VRathi03/wtfpython#-first-things-first-
https://github.com/VRathi03/wtfpython#-explanation-1
https://github.com/VRathi03/wtfpython#-strings-can-be-tricky-sometimes
https://github.com/VRathi03/wtfpython#-explanation-2
herehttps://github.com/python/cpython/blob/3.6/Objects/codeobject.c#L19
https://github.com/VRathi03/wtfpython/blob/master/images/string-intern/string_intern.png
issuehttps://github.com/satwikkansal/wtfpython/issues/100
peephole optimizationhttps://en.wikipedia.org/wiki/Peephole_optimization
Here'shttps://github.com/python/cpython/blob/3.6/Python/peephole.c#L288
herehttps://bugs.python.org/issue11549
https://github.com/VRathi03/wtfpython#-be-careful-with-chained-operations
https://github.com/VRathi03/wtfpython#-explanation-3
https://docs.python.org/2/reference/expressions.html#not-inhttps://docs.python.org/2/reference/expressions.html#not-in
https://github.com/VRathi03/wtfpython#-how-not-to-use-is-operator
https://github.com/VRathi03/wtfpython#-explanation-4
https://docs.python.org/3/c-api/long.htmlhttps://docs.python.org/3/c-api/long.html
issuehttps://github.com/satwikkansal/wtfpython/issues/100
https://github.com/VRathi03/wtfpython#-hash-brownies
https://github.com/VRathi03/wtfpython#-explanation-5
docshttps://docs.python.org/3/reference/datamodel.html#object.__hash__
hash collisionhttps://en.wikipedia.org/wiki/Collision_(computer_science)
https://github.com/VRathi03/wtfpython#-deep-down-were-all-the-same
https://github.com/VRathi03/wtfpython#-explanation-6
https://github.com/VRathi03/wtfpython#-disorder-within-order-
https://github.com/VRathi03/wtfpython#-explanation-7
docshttps://docs.python.org/3/library/collections.html#ordereddict-objects
https://github.com/VRathi03/wtfpython#-keep-trying-
https://github.com/VRathi03/wtfpython#-explanation-8
https://github.com/VRathi03/wtfpython#-for-what
https://github.com/VRathi03/wtfpython#-explanation-9
Python grammarhttps://docs.python.org/3/reference/grammar.html
https://github.com/VRathi03/wtfpython#-evaluation-time-discrepancy
https://github.com/VRathi03/wtfpython#-explanation-10
generatorhttps://wiki.python.org/moin/Generators
PEP-289https://www.python.org/dev/peps/pep-0289/#the-details
https://github.com/VRathi03/wtfpython#-is-not--is-not-is-not-
https://github.com/VRathi03/wtfpython#-explanation-11
https://github.com/VRathi03/wtfpython#-a-tic-tac-toe-where-x-wins-in-the-first-attempt
https://github.com/VRathi03/wtfpython#-explanation-12
https://github.com/VRathi03/wtfpython/blob/master/images/tic-tac-toe/after_row_initialized.png
https://github.com/VRathi03/wtfpython/blob/master/images/tic-tac-toe/after_board_initialized.png
thishttps://github.com/satwikkansal/wtfpython/issues/68
https://github.com/VRathi03/wtfpython#-the-sticky-output-function
https://github.com/VRathi03/wtfpython#-explanation-13
https://github.com/VRathi03/wtfpython#-the-chicken-egg-problem-
https://github.com/VRathi03/wtfpython#-explanation-14
metaclasshttps://realpython.com/python-metaclasses/
https://github.com/VRathi03/wtfpython#-subclass-relationships
https://github.com/VRathi03/wtfpython#-explanation-15
herehttps://www.naftaliharris.com/blog/python-subclass-intransitivity/
https://github.com/VRathi03/wtfpython#-all-true-ation-
https://github.com/VRathi03/wtfpython#-explanation-16
https://github.com/VRathi03/wtfpython#-the-surprising-comma
https://github.com/VRathi03/wtfpython#-explanation-17
fixed in Python 3.6https://bugs.python.org/issue9232
thishttps://bugs.python.org/issue9232#msg248399
https://github.com/VRathi03/wtfpython#-strings-and-the-backslashes
https://github.com/VRathi03/wtfpython#-explanation-18
https://github.com/VRathi03/wtfpython#-not-knot
https://github.com/VRathi03/wtfpython#-explanation-19
https://github.com/VRathi03/wtfpython#-half-triple-quoted-strings
https://github.com/VRathi03/wtfpython#-explanation-20
string literal concatenationhttps://docs.python.org/2/reference/lexical_analysis.html#string-literal-concatenation
https://github.com/VRathi03/wtfpython#-whats-wrong-with-booleans
https://github.com/VRathi03/wtfpython#-explanation-21
answerhttps://stackoverflow.com/a/8169049/4354153
https://github.com/VRathi03/wtfpython#-class-attributes-and-instance-attributes
https://github.com/VRathi03/wtfpython#-explanation-22
https://github.com/VRathi03/wtfpython#-non-reflexive-class-method-
https://github.com/VRathi03/wtfpython#-explanation-23
https://github.com/VRathi03/wtfpython#-yielding-none
https://github.com/VRathi03/wtfpython#-explanation-24
https://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressionshttps://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressions
http://bugs.python.org/issue10544http://bugs.python.org/issue10544
https://github.com/VRathi03/wtfpython#-yielding-from-return-
https://github.com/VRathi03/wtfpython#-explanation-25
PEP380https://www.python.org/dev/peps/pep-0380/
official docshttps://www.python.org/dev/peps/pep-0380/#enhancements-to-stopiteration
https://github.com/VRathi03/wtfpython#-nan-reflexivity-
https://github.com/VRathi03/wtfpython#-explanation-26
Reflexivity, and other pillars of civilizationhttps://bertrandmeyer.com/2010/02/06/reflexivity-and-other-pillars-of-civilization/
https://github.com/VRathi03/wtfpython#-mutating-the-immutable
https://github.com/VRathi03/wtfpython#-explanation-27
https://docs.python.org/2/reference/datamodel.htmlhttps://docs.python.org/2/reference/datamodel.html
https://github.com/VRathi03/wtfpython#-the-disappearing-variable-from-outer-scope
https://github.com/VRathi03/wtfpython#-explanation-28
https://docs.python.org/3/reference/compound_stmts.html#excepthttps://docs.python.org/3/reference/compound_stmts.html#except
https://github.com/VRathi03/wtfpython#-the-mysterious-key-type-conversion
https://github.com/VRathi03/wtfpython#-explanation-29
https://github.com/VRathi03/wtfpython#-lets-see-if-you-can-guess-this
https://github.com/VRathi03/wtfpython#-explanation-30
Python language referencehttps://docs.python.org/2/reference/simple_stmts.html#assignment-statements
https://github.com/VRathi03/wtfpython#section-slippery-slopes
https://github.com/VRathi03/wtfpython#-modifying-a-dictionary-while-iterating-over-it
https://github.com/VRathi03/wtfpython#-explanation-31
herehttps://github.com/satwikkansal/wtfpython/issues/53
thishttps://stackoverflow.com/questions/44763802/bug-in-python-dict
https://github.com/VRathi03/wtfpython#-stubborn-del-operation
https://github.com/VRathi03/wtfpython#-explanation-32
https://github.com/VRathi03/wtfpython#-the-out-of-scope-variable
https://github.com/VRathi03/wtfpython#-explanation-33
thishttp://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html
https://github.com/VRathi03/wtfpython#-deleting-a-list-item-while-iterating
https://github.com/VRathi03/wtfpython#-explanation-34
threadhttps://stackoverflow.com/questions/45946228/what-happens-when-you-try-to-delete-a-list-element-while-iterating-over-it
threadhttps://stackoverflow.com/questions/45877614/how-to-change-all-the-dictionary-keys-in-a-for-loop-with-d-items
https://github.com/VRathi03/wtfpython#-lossy-zip-of-iterators-
https://github.com/VRathi03/wtfpython#-explanation-35
docshttps://docs.python.org/3.3/library/functions.html#zip
https://github.com/VRathi03/wtfpython#-loop-variables-leaking-out
https://github.com/VRathi03/wtfpython#-explanation-36
What’s New In Python 3.0https://docs.python.org/3/whatsnew/3.0.html
https://github.com/VRathi03/wtfpython#-beware-of-default-mutable-arguments
https://github.com/VRathi03/wtfpython#-explanation-37
https://github.com/VRathi03/wtfpython#-catching-the-exceptions
https://github.com/VRathi03/wtfpython#-explanation-38
https://github.com/VRathi03/wtfpython#-same-operands-different-story
https://github.com/VRathi03/wtfpython#-explanation-39
https://github.com/VRathi03/wtfpython#-name-resolution-ignoring-class-scope
https://github.com/VRathi03/wtfpython#-explanation-40
https://github.com/VRathi03/wtfpython#-needles-in-a-haystack-
https://github.com/VRathi03/wtfpython#-explanation-41
herehttp://docs.python.org/2/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list
https://github.com/VRathi03/wtfpython#-splitsies-
https://github.com/VRathi03/wtfpython#-explanation-42
docshttps://docs.python.org/2.7/library/stdtypes.html#str.split
https://github.com/VRathi03/wtfpython#-wild-imports-
https://github.com/VRathi03/wtfpython#-explanation-43
https://github.com/VRathi03/wtfpython#-all-sorted-
https://github.com/VRathi03/wtfpython#-explanation-44
https://github.com/VRathi03/wtfpython#-midnight-time-doesnt-exist
https://github.com/VRathi03/wtfpython#-explanation-45
https://github.com/VRathi03/wtfpython#section-the-hidden-treasures
https://github.com/VRathi03/wtfpython#-okay-python-can-you-make-me-fly
https://github.com/VRathi03/wtfpython#-explanation-46
classic XKCD comichttp://xkcd.com/353/
codehttps://github.com/python/cpython/blob/master/Lib/antigravity.py#L7-L17
XKCD's geohashing algorithmhttps://xkcd.com/426/
https://github.com/VRathi03/wtfpython#-goto-but-why
https://github.com/VRathi03/wtfpython#-explanation-47
announcedhttps://mail.python.org/pipermail/python-announce-list/2004-April/002982.html
reasonhttps://docs.python.org/3/faq/design.html#why-is-there-no-goto
https://github.com/VRathi03/wtfpython#-brace-yourself
codehttps://github.com/python/cpython/blob/master/Lib/__future__.py
https://github.com/VRathi03/wtfpython#-explanation-48
herehttps://github.com/python/cpython/blob/025eb98dc0c1dc27404df6c544fc2944e0fa9f3a/Python/future.c#L49
future statementhttps://docs.python.org/3.3/reference/simple_stmts.html#future-statements
https://github.com/VRathi03/wtfpython#-lets-meet-friendly-language-uncle-for-life
https://github.com/VRathi03/wtfpython#-explanation-49
PEP-401https://www.python.org/dev/peps/pep-0401/
herehttps://www.python.org/dev/peps/pep-0401/
issuehttps://github.com/satwikkansal/wtfpython/issues/94
https://github.com/VRathi03/wtfpython#-even-python-understands-that-love-is-complicated
https://github.com/VRathi03/wtfpython#-explanation-50
PEP 20https://www.python.org/dev/peps/pep-0020
this.pyhttps://hg.python.org/cpython/file/c3896275c0f6/Lib/this.py
https://github.com/VRathi03/wtfpython#-yes-it-exists
https://github.com/VRathi03/wtfpython#-explanation-51
https://github.com/VRathi03/wtfpython#-ellipsis-
https://github.com/VRathi03/wtfpython#-explanation-52
type hintinghttps://docs.python.org/3/library/typing.html
https://github.com/VRathi03/wtfpython#-inpinity
https://github.com/VRathi03/wtfpython#-explanation-53
https://github.com/VRathi03/wtfpython#-lets-mangle
https://github.com/VRathi03/wtfpython#-explanation-54
Name Manglinghttps://en.wikipedia.org/wiki/Name_mangling
https://github.com/VRathi03/wtfpython#section-appearances-are-deceptive
https://github.com/VRathi03/wtfpython#-skipping-lines
https://github.com/VRathi03/wtfpython#-explanation-55
code pointhttps://en.wikipedia.org/wiki/Code_point
https://github.com/VRathi03/wtfpython#-teleportation
https://github.com/VRathi03/wtfpython#-explanation-56
https://github.com/VRathi03/wtfpython#-well-something-is-fishy
mixed_tabs_and_spaces.pyhttps://github.com/VRathi03/wtfpython/blob/master/mixed_tabs_and_spaces.py
https://github.com/VRathi03/wtfpython#-explanation-57
https://github.com/VRathi03/wtfpython#section-miscellaneous
https://github.com/VRathi03/wtfpython#--is-faster
https://github.com/VRathi03/wtfpython#-explanation-58
https://github.com/VRathi03/wtfpython#-lets-make-a-giant-string
https://github.com/VRathi03/wtfpython#-explanation-59
timeithttps://docs.python.org/3/library/timeit.html
%timeithttps://ipython.org/ipython-doc/dev/interactive/magics.html#magic-timeit
Zen of Pythonhttps://www.python.org/dev/peps/pep-0020/
https://github.com/VRathi03/wtfpython#-minor-ones-
sequenceshttps://docs.python.org/3/glossary.html#term-sequence
threadhttps://stackoverflow.com/questions/3654830/why-are-there-no-and-operators-in-python
Raymond Hettinger's tweethttps://twitter.com/raymondh/status/1131103570856632321?lang=en
converse implicationhttps://en.wikipedia.org/wiki/Converse_implication
Sourcehttps://github.com/cosmologicon/pywat/blob/master/explanation.md#the-undocumented-converse-implication-operator
Global Interpreter Lockhttps://wiki.python.org/moin/GlobalInterpreterLock
multiprocessinghttps://docs.python.org/2/library/multiprocessing.html
interesting storyhttp://chris.improbable.org/2014/8/25/adventures-in-unicode-digits/
https://github.com/VRathi03/wtfpython#contributing
issues labeled translationhttps://github.com/satwikkansal/wtfpython/issues?q=is%3Aissue+is%3Aopen+label%3Atranslation
CONTRIBUTING.mdhttps://github.com/VRathi03/wtfpython/blob/master/CONTRIBUTING.md
issuehttps://github.com/satwikkansal/wtfpython/issues/new
https://github.com/VRathi03/wtfpython#acknowledgements
wtfjshttps://github.com/denysdovhan/wtfjs
https://github.com/VRathi03/wtfpython#some-nice-links
https://www.youtube.com/watch?v=sH4XF6pKKmkhttps://www.youtube.com/watch?v=sH4XF6pKKmk
https://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_pythonhttps://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_python
https://sopython.com/wiki/Common_Gotchas_In_Pythonhttps://sopython.com/wiki/Common_Gotchas_In_Python
https://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmineshttps://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmines
https://stackoverflow.com/questions/1011431/common-pitfalls-in-pythonhttps://stackoverflow.com/questions/1011431/common-pitfalls-in-python
https://www.python.org/doc/humor/https://www.python.org/doc/humor/
https://github.com/cosmologicon/pywat#the-undocumented-converse-implication-operatorhttps://github.com/cosmologicon/pywat#the-undocumented-converse-implication-operator
https://www.codementor.io/satwikkansal/python-practices-for-efficient-code-performance-memory-and-usability-aze6oiq65https://www.codementor.io/satwikkansal/python-practices-for-efficient-code-performance-memory-and-usability-aze6oiq65
https://github.com/wemake-services/wemake-python-styleguide/search?q=wtfpython&type=Issueshttps://github.com/wemake-services/wemake-python-styleguide/search?q=wtfpython&type=Issues
Hacker Newshttps://news.ycombinator.com/item?id=21862073
Reddithttps://www.reddit.com/r/programming/comments/edsh3q/what_the_fck_python_30_exploring_and/
https://github.com/VRathi03/wtfpython#-license
http://www.wtfpl.net
Satwik Kansalhttps://satwikkansal.xyz
https://github.com/VRathi03/wtfpython#surprise-your-friends-as-well
Twitterhttps://twitter.com/intent/tweet?url=https://github.com/satwikkansal/wtfpython&text=If%20you%20really%20think%20you%20know%20Python,%20think%20once%20more!%20Check%20out%20wtfpython&hashtags=python,wtfpython
Linkedinhttps://www.linkedin.com/shareArticle?url=https://github.com/satwikkansal&title=What%20the%20f*ck%20Python!&summary=If%20you%20really%20thing%20you%20know%20Python,%20think%20once%20more!
Facebookhttps://www.facebook.com/dialog/share?app_id=536779657179021&display=page&href=https%3A%2F%2Fgithub.com%2Fsatwikkansal%2Fwtfpython"e=If%20you%20really%20think%20you%20know%20Python%2C%20think%20once%20more!
https://github.com/VRathi03/wtfpython#need-a-pdf-version
herehttps://satwikkansal.xyz/wtfpython-pdf/
herehttps://www.satwikkansal.xyz/content-like-wtfpython/
plant a treehttps://teamtrees.org/
Readme https://github.com/VRathi03/wtfpython#readme-ov-file
WTFPL license https://github.com/VRathi03/wtfpython#WTFPL-1-ov-file
Code of conduct https://github.com/VRathi03/wtfpython#coc-ov-file
Contributing https://github.com/VRathi03/wtfpython#contributing-ov-file
Please reload this pagehttps://github.com/VRathi03/wtfpython
Activityhttps://github.com/VRathi03/wtfpython/activity
0 starshttps://github.com/VRathi03/wtfpython/stargazers
0 watchinghttps://github.com/VRathi03/wtfpython/watchers
0 forkshttps://github.com/VRathi03/wtfpython/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FVRathi03%2Fwtfpython&report=VRathi03+%28user%29
Releaseshttps://github.com/VRathi03/wtfpython/releases
2 tags https://github.com/VRathi03/wtfpython/tags
Packages 0https://github.com/users/VRathi03/packages?repo_name=wtfpython
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.