Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
pinggit
python3-cookbook
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
python3-cookbook
/
source
/
c01
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
python3-cookbook
/
source
/
c01
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
c01.rst
c01.rst
p01_unpack_sequence_into_separate_variables.rst
p01_unpack_sequence_into_separate_variables.rst
p02_unpack_elements_from_iterables.rst
p02_unpack_elements_from_iterables.rst
p03_keep_last_n_items.rst
p03_keep_last_n_items.rst
p04_find_largest_or_smallest_n_items.rst
p04_find_largest_or_smallest_n_items.rst
p05_implement_a_priority_queue.rst
p05_implement_a_priority_queue.rst
p06_map_keys_to_multiple_values_in_dict.rst
p06_map_keys_to_multiple_values_in_dict.rst
p07_keep_dict_in_order.rst
p07_keep_dict_in_order.rst
p08_calculating_with_dict.rst
p08_calculating_with_dict.rst
p09_find_commonalities_in_dicts.rst
p09_find_commonalities_in_dicts.rst
p10_remove_duplicates_from_seq_order.rst
p10_remove_duplicates_from_seq_order.rst
p11_naming_slice.rst
p11_naming_slice.rst
p12_determine_most_freqently_items_in_seq.rst
p12_determine_most_freqently_items_in_seq.rst
p13_sort_list_of_dicts_by_key.rst
p13_sort_list_of_dicts_by_key.rst
p14_sort_objects_without_compare_support.rst
p14_sort_objects_without_compare_support.rst
p15_group_records_based_on_field.rst
p15_group_records_based_on_field.rst
p16_filter_sequence_elements.rst
p16_filter_sequence_elements.rst
p17_extract_subset_of_dict.rst
p17_extract_subset_of_dict.rst
p18_map_names_to_sequence_elements.rst
p18_map_names_to_sequence_elements.rst
p19_transform_and_reduce_data_same_time.rst
p19_transform_and_reduce_data_same_time.rst
p20_combine_multiple_map_to_single_map.rst
p20_combine_multiple_map_to_single_map.rst
View all files
You can’t perform that action at this time.