HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Python Tutorial for Beginners 5: Dictionaries - Working with Key-Value Pairs

1,800,134 views October 25, 2017 9:59

Watch on YouTube
ChannelCorey Schafer

Description from the creator

In this Python Beginner Tutorial, we will begin learning about dictionaries. Dictionaries allow us to work with key-value pairs in Python. We will go over dictionary methods, how to add and remove values, and also how to loop through the key-value pairs. Let's get started.

The code from this video can be found at:
github.com/CoreyMSchafer/code_snippets/tree/mas…

Watch the full Python Beginner Series here:
youtube.com/playlist?list=PL-osiE80TeTskrapNbzX…


✅ Support My Channel Through Patreon:
patreon.com/coreyms

✅ Become a Channel Member:
youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/jo…

✅ One-Time Contribution Through PayPal:
goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - youtube.com/c/coreymschafer
Facebook - facebook.com/CoreyMSchafer
Twitter - twitter.com/CoreyMSchafer
Instagram - instagram.com/coreymschafer/

#Python

About this tutorial

Corey Schafer published this 9:59 video tutorial on October 25, 2017. It has been watched 1,800,134 times on YouTube.

Category
Education
Duration
9:59
Published
October 25, 2017
Views
1,800,134
Likes
40,878

Tags

Share

Further reading

  • Dictionaries in Python – Real Python - Python Tutorials realpython.com

    Dictionaries are Python’s implementation of a data structure that is more generally known as an associative array. A dictionary consists of a collection of key-value pairs. Each key-value pair maps the key to its associ…

  • [Complete Guide] Python Dictionary Tutorial for Beginners csestack.org

    You can use each sequence as a key-value pair. Here is a simple code works for you. empDict = dict([(1,'Mark'), (2,'Bob')]) We are using the same dict() method that used earlier for creating a dictionary object. Python…

  • How to use Dictionaries in Python - PythonForBeginners.com pythonforbeginners.com

    Dictionaries in Python are a list of items that are unordered and can be changed by use of built in methods. Dictionaries are used to create a map of unique keys to values. About Dictionaries in Python. To create a Dict…

This tutorial in other languages