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
Branch selector
3.0
User selector
All users
All time
Commit history
Commits on Jun 10, 2019
Add new example: Wild imports
satwikkansal
committed
8b4bbb2
View commit details
Copy full SHA for 8b4bbb2
Browse repository at this point
Some minor changes, and add assertion example
satwikkansal
committed
c6e0d79
View commit details
Copy full SHA for c6e0d79
Browse repository at this point
Commits on Jun 9, 2019
Add new example: Disorder within order
Show description for 362447a
satwikkansal
committed
362447a
View commit details
Copy full SHA for 362447a
Browse repository at this point
New example: Lossy zip of iterators
Show description for 4d5a2f0
satwikkansal
committed
4d5a2f0
View commit details
Copy full SHA for 4d5a2f0
Browse repository at this point
String can be tricky: Remove outdated snippet
Show description for bf967b0
satwikkansal
committed
bf967b0
View commit details
Copy full SHA for bf967b0
Browse repository at this point
Brace yourself: Add to explanation
Show description for 80a969a
satwikkansal
committed
80a969a
View commit details
Copy full SHA for 80a969a
Browse repository at this point
Commits on Jun 8, 2019
Let's make a giant string: Use %timeit for measuring time
Show description for 2bfa6d2
satwikkansal
committed
2bfa6d2
View commit details
Copy full SHA for 2bfa6d2
Browse repository at this point
New example: The chicken-egg problem
Show description for 9ea7ab0
satwikkansal
committed
9ea7ab0
View commit details
Copy full SHA for 9ea7ab0
Browse repository at this point
Update example "is is not what it is"
Show description for 72e39d3
satwikkansal
committed
72e39d3
View commit details
Copy full SHA for 72e39d3
Browse repository at this point
Merge remote-tracking branch 'origin/master' into 3.0
satwikkansal
committed
6164ce0
View commit details
Copy full SHA for 6164ce0
Browse repository at this point
Add example: Ellipsis
Show description for 85352fc
satwikkansal
committed
85352fc
View commit details
Copy full SHA for 85352fc
Browse repository at this point
Let's meet Friendly Language Uncle For Life: Add notes for non-interactive evn
Show description for a33f715
satwikkansal
committed
a33f715
View commit details
Copy full SHA for a33f715
Browse repository at this point
Add new snippet: Splitsies
Show description for c52919b
satwikkansal
committed
c52919b
View commit details
Copy full SHA for c52919b
Browse repository at this point
Commits on Jun 7, 2019
Expand strings and backslashes
Show description for 092dd09
satwikkansal
committed
092dd09
View commit details
Copy full SHA for 092dd09
Browse repository at this point
Modifying a dictionary while iterating over it: Add note
Show description for e0cb30b
satwikkansal
committed
e0cb30b
View commit details
Copy full SHA for e0cb30b
Browse repository at this point
Update evaluation time discrepency example: Add another snippet
Show description for bc68ae0
satwikkansal
committed
bc68ae0
View commit details
Copy full SHA for bc68ae0
Browse repository at this point
Update content.md
satwikkansal
committed
3806284
View commit details
Copy full SHA for 3806284
Browse repository at this point
Some hideous typora corrections and a new snippets added
Show description for f03f7dc
satwikkansal
committed
f03f7dc
View commit details
Copy full SHA for f03f7dc
Browse repository at this point
Commits on Jun 6, 2019
add encoding (#122)
Show description for 31dcd9b
hippieZhou
authored and
satwikkansal
committed
31dcd9b
View commit details
Copy full SHA for 31dcd9b
Browse repository at this point
Commits on May 6, 2019
Add todos
satwikkansal
committed
45bec62
View commit details
Copy full SHA for 45bec62
Browse repository at this point
Get the generator in a working state
satwikkansal
committed
5c8c4c5
View commit details
Copy full SHA for 5c8c4c5
Browse repository at this point
Commits on May 1, 2019
Use absolute path for the pager.
Show description for c475cbf
satwikkansal
committed
c475cbf
View commit details
Copy full SHA for c475cbf
Browse repository at this point
Add json generator
satwikkansal
committed
596186d
View commit details
Copy full SHA for 596186d
Browse repository at this point
Commits on Mar 31, 2019
Use http instead of https
Show description for 54883f5
satwikkansal
authored
54883f5
View commit details
Copy full SHA for 54883f5
Browse repository at this point
Commits on Dec 16, 2018
Add reference to chinese translation
satwikkansal
authored
b262f29
View commit details
Copy full SHA for b262f29
Browse repository at this point
Commits on Dec 9, 2018
Rephrase sentence to make more sense (#109)
kyblockstacking
authored and
satwikkansal
committed
30e05a5
View commit details
Copy full SHA for 30e05a5
Browse repository at this point
Commits on Dec 6, 2018
fix typo (#107)
1f604
authored and
satwikkansal
committed
64b3109
View commit details
Copy full SHA for 64b3109
Browse repository at this point
Commits on Dec 5, 2018
match order of display to if/else order (#105)
Show description for 9c5f26e
kannes
authored and
satwikkansal
committed
9c5f26e
View commit details
Copy full SHA for 9c5f26e
Browse repository at this point
make the function *call* more visible (#104)
Show description for b0e7a81
kannes
authored and
satwikkansal
committed
b0e7a81
View commit details
Copy full SHA for b0e7a81
Browse repository at this point
Commits on Dec 4, 2018
Update broken link
satwikkansal
authored
d747788
View commit details
Copy full SHA for d747788
Browse repository at this point
Commits on Oct 3, 2018
Update README.md (#95)
Show description for 145a194
cjoeml
authored and
satwikkansal
committed
145a194
View commit details
Copy full SHA for 145a194
Browse repository at this point
Commits on Aug 28, 2018
Fixed input-output of 4th example explanation code (#92)
Show description for ac379c9
Vibhu-Agarwal
authored and
satwikkansal
committed
ac379c9
View commit details
Copy full SHA for ac379c9
Browse repository at this point
Commits on Jun 21, 2018
Fix Python 3 compatibility in the irrelevant code! (#86)
cclauss
authored and
satwikkansal
committed
2fb0450
View commit details
Copy full SHA for 2fb0450
Browse repository at this point
Commits on Jun 18, 2018
Fix an error in the irrelevant code!
Show description for 07861a0
satwikkansal
committed
07861a0
View commit details
Copy full SHA for 07861a0
Browse repository at this point
Commits on Jun 14, 2018
Fix incorrect output in "Mysterious key type conversion" example
Show description for 5484680
satwikkansal
committed
5484680
View commit details
Copy full SHA for 5484680
Browse repository at this point
Previous
Next
You can’t perform that action at this time.