Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python3
/
wtfpython
Public
forked from
satwikkansal/wtfpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
wtfpython
README.md
on
development
User selector
All users
All time
Commit history
Commits on Jan 7, 2018
Update README.md
satwikkansal
committed
e4e7203
View commit details
Copy full SHA for e4e7203
View code at this point
Browse repository at this point
Update README.md
Show description for d5585f0
ParthKolekar
authored and
satwikkansal
committed
d5585f0
View commit details
Copy full SHA for d5585f0
View code at this point
Browse repository at this point
Commits on Oct 11, 2017
Add new snippet: Half quoted triple strings
Show description for 8b2a617
satwikkansal
committed
8b2a617
View commit details
Copy full SHA for 8b2a617
View code at this point
Browse repository at this point
Update Example: Let's make a giant string
Show description for ea29aa0
satwikkansal
committed
ea29aa0
View commit details
Copy full SHA for ea29aa0
View code at this point
Browse repository at this point
Add new snippet: Yielding None
Show description for e2c2cf1
satwikkansal
committed
e2c2cf1
View commit details
Copy full SHA for e2c2cf1
View code at this point
Browse repository at this point
Add gitter channel information and update TOC
Show description for 2fff92c
satwikkansal
committed
2fff92c
View commit details
Copy full SHA for 2fff92c
View code at this point
Browse repository at this point
Commits on Oct 3, 2017
Fix typo, expression output True and not [[...]]
nitmir
committed
6f66e1e
View commit details
Copy full SHA for 6f66e1e
View code at this point
Browse repository at this point
Commits on Sep 11, 2017
String concatenation optimizations: Update title
Show description for e836b22
satwikkansal
committed
e836b22
View commit details
Copy full SHA for e836b22
View code at this point
Browse repository at this point
Update contributing guide.
satwikkansal
committed
17a456a
View commit details
Copy full SHA for 17a456a
View code at this point
Browse repository at this point
Skipping lines: Update explanation
Show description for 76da1b8
satwikkansal
committed
76da1b8
View commit details
Copy full SHA for 76da1b8
View code at this point
Browse repository at this point
Commits on Sep 7, 2017
add link to a more specific Stack Overflow thread
Show description for 0a70a2e
zed
authored
0a70a2e
View commit details
Copy full SHA for 0a70a2e
View code at this point
Browse repository at this point
Formatting
nalzok
authored
c2d42a5
View commit details
Copy full SHA for c2d42a5
View code at this point
Browse repository at this point
Commits on Sep 6, 2017
"Is not" description is too descriptive, changed title to "is not is not
Show description for 5d8a9e6
girlpunk
authored and
Jacob Mansfield
committed
5d8a9e6
View commit details
Copy full SHA for 5d8a9e6
View code at this point
Browse repository at this point
Table Of Contents: Add entries
Show description for fa368e8
satwikkansal
committed
fa368e8
View commit details
Copy full SHA for fa368e8
View code at this point
Browse repository at this point
Add example: The surprising comma
Show description for be98d88
satwikkansal
committed
be98d88
View commit details
Copy full SHA for be98d88
View code at this point
Browse repository at this point
Minor Examples: Update explanation for multithreading example
Show description for cc3eb36
satwikkansal
committed
cc3eb36
View commit details
Copy full SHA for cc3eb36
View code at this point
Browse repository at this point
Minor exmpample: Correct explanation
Show description for 24c4a64
satwikkansal
committed
24c4a64
View commit details
Copy full SHA for 24c4a64
View code at this point
Browse repository at this point
Add minor example
Show description for 5467a67
satwikkansal
committed
5467a67
View commit details
Copy full SHA for 5467a67
View code at this point
Browse repository at this point
italic literal *`op=`*
cben
authored
2155d91
View commit details
Copy full SHA for 2155d91
View code at this point
Browse repository at this point
a+=b vs a=a+b : clarify the difference is not universal
Show description for c95ba00
cben
authored
c95ba00
View commit details
Copy full SHA for c95ba00
View code at this point
Browse repository at this point
Commits on Sep 5, 2017
Fix typo in the "For what?" example
Weyzu
committed
57fb824
View commit details
Copy full SHA for 57fb824
View code at this point
Browse repository at this point
Commits on Sep 4, 2017
Add example: For what?
Show description for 753d0b6
satwikkansal
committed
753d0b6
View commit details
Copy full SHA for 753d0b6
View code at this point
Browse repository at this point
Update example: Deleting a list while iterating over it
Show description for 7e93e0c
satwikkansal
committed
7e93e0c
View commit details
Copy full SHA for 7e93e0c
View code at this point
Browse repository at this point
Update example: Time for more Hash brownies!
Show description for d4a60ac
satwikkansal
committed
d4a60ac
View commit details
Copy full SHA for d4a60ac
View code at this point
Browse repository at this point
Update exmaple: Counting the booleans
Show description for 8216f02
satwikkansal
committed
8216f02
View commit details
Copy full SHA for 8216f02
View code at this point
Browse repository at this point
Add example: Not Knot!
Show description for 6abfb50
satwikkansal
committed
6abfb50
View commit details
Copy full SHA for 6abfb50
View code at this point
Browse repository at this point
Commits on Sep 3, 2017
Assign "2" to match remainder of class attribute example
jrib
authored
a42587f
View commit details
Copy full SHA for a42587f
View code at this point
Browse repository at this point
Commits on Sep 2, 2017
Use consistent "Explanation" headings.
Show description for 426cb0c
satwikkansal
committed
426cb0c
View commit details
Copy full SHA for 426cb0c
View code at this point
Browse repository at this point
corrected typos
bhageena
authored
31f617d
View commit details
Copy full SHA for 31f617d
View code at this point
Browse repository at this point
Commits on Sep 1, 2017
Fix typo
dos1
authored
8cf1148
View commit details
Copy full SHA for 8cf1148
View code at this point
Browse repository at this point
Fix typo
Show description for 424b240
satwikkansal
committed
424b240
View commit details
Copy full SHA for 424b240
View code at this point
Browse repository at this point
Update Table Of Contents
satwikkansal
committed
71b6e28
View commit details
Copy full SHA for 71b6e28
View code at this point
Browse repository at this point
Add new example: Counting the booleans
Show description for 1b8d9ef
satwikkansal
committed
1b8d9ef
View commit details
Copy full SHA for 1b8d9ef
View code at this point
Browse repository at this point
Change the position of the notes.
Show description for 82bbded
satwikkansal
committed
82bbded
View commit details
Copy full SHA for 82bbded
View code at this point
Browse repository at this point
Fixed wrong output of `isinstance(False, float)`
Show description for bd05e9e
jpihl
authored
bd05e9e
View commit details
Copy full SHA for bd05e9e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.