Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
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 }}
codebasics
/
py
Public
Notifications
You must be signed in to change notification settings
Fork
16.9k
Star
7k
Code
Issues
72
Pull requests
126
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
master
Breadcrumbs
py
/
Basics
/
Exercise
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
master
Breadcrumbs
py
/
Basics
/
Exercise
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
10_functions
10_functions
11_dict_tuples
11_dict_tuples
13_read_write_files
13_read_write_files
15_exception_handling
15_exception_handling
16_class_and_objects
16_class_and_objects
17_inheritance
17_inheritance
18_multiple_inheritance
18_multiple_inheritance
19_raise_exception_finally
19_raise_exception_finally
20_Iterators
20_Iterators
21_generators
21_generators
22_list_set_dict_comprehension
22_list_set_dict_comprehension
23_sets_frozensets
23_sets_frozensets
24_argparse
24_argparse
25_decorators
25_decorators
26_multithreading
26_multithreading
2_variables
2_variables
3_numbers
3_numbers
4_strings
4_strings
5_lists
5_lists
8_if
8_if
9_for
9_for
View all files
You can’t perform that action at this time.