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

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

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

FavoriteLoadingAdd to favorites

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:

Watch the full Python Beginner Series here:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

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

✅ Corey’s Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:
My Website –
My Second Channel –
Facebook –
Twitter –
Instagram –

#Python

source

By |2019-09-01T22:35:03+00:00September 1st, 2019|Python Video Tutorials|20 Comments

20 Comments

  1. Sumit Mehta September 1, 2019 at 10:35 pm - Reply

    Hey Corey your videos are great. it helps me to learn the concepts in a much better way . Do you have a video for argparse as well tried but couldn't find ?

  2. Patryk PiorunPotemDreszcz September 1, 2019 at 10:35 pm - Reply

    It's just another one of your videos that's great.

  3. BEST LOGISTICS SAP September 1, 2019 at 10:35 pm - Reply

    how to get keys and values together with enumerate

  4. Lkhagvasuren Ganbat September 1, 2019 at 10:35 pm - Reply

    Thank you your tutorials are very easier understand to me thank you so much

  5. Pythonest September 1, 2019 at 10:35 pm - Reply

    Here's an advanced tutorial for python dictionaries if you want to learn more: https://youtu.be/iMG29UpCRZQ

  6. ss bola September 1, 2019 at 10:35 pm - Reply

    you are an awesome teacher…

  7. Goncalo Duarte September 1, 2019 at 10:35 pm - Reply

    What a Legend! Someone going out of his way just to make knowledge available to others… that is Special. Congratulations Corey, these videos are awesome !

  8. Daniel Cherrill September 1, 2019 at 10:35 pm - Reply

    Please create this as and offline structured course pweeease
    So much info not enough time to get all the notes but..

    Thanks to Jacob Cannon u made my life much easier 😀

    Ps. agree with all comments below (Y)

  9. PythonBD September 1, 2019 at 10:35 pm - Reply

    Please… All videos zoom in

  10. vuong hoang September 1, 2019 at 10:35 pm - Reply

    Wait if you use the curly brackets {} it won't give you the result in the order as you said in one video? So for example:
    information = {'name' = 'me' , 'age' = '19', 'status' ='single'}
    print (information)
    so you expect the result to give you name, age and status but the {} works in probability. In other words, it will print out age, name, status or status, name, age (3! results can happen).
    As a result when I try to update the information the updated piece of information doesn't include in the expected order of the original value.

  11. Inferenceiop September 1, 2019 at 10:35 pm - Reply

    What editor are you using?

  12. Dopeboyz789 September 1, 2019 at 10:35 pm - Reply

    Is there a way to use whats in the dataframe instead of dictionary?

  13. Nikhila Vemuri September 1, 2019 at 10:35 pm - Reply

    Just love your tutorials… 😍

  14. Rogue Nation September 1, 2019 at 10:35 pm - Reply

    what is left for you Corey is having an ASSIGNMENT REPRODUCTION LIST, so we could become more involved, I learned to program up to heaps, binary trees and so, therefore I come a little bored if the challenge is not enough….. 🙂

  15. Rogue Nation September 1, 2019 at 10:35 pm - Reply

    good for Corey, thats good idea to pay him a little, because of his efforts

  16. Melanie Boots September 1, 2019 at 10:35 pm - Reply

    This tutorial is great.
    I only know the basics of C and this introduction to Python was very comprehensible to me.
    I tried other languages, like Java, but no other programming language worked in my brain until i tried Python.
    I guess it has to do with me understanding how C works, and that the Python community is really helpful and good at explaining everything.
    This just clicks.
    Thanks.

  17. Harish Vemula September 1, 2019 at 10:35 pm - Reply

    Can any one tell me , the editor that is used in video . Thanks in advance

  18. Rahul Jamba September 1, 2019 at 10:35 pm - Reply

    Nice explanation

  19. RISHI September 1, 2019 at 10:35 pm - Reply

    I came after watching c++ tutorials and I have to say python is fucking amazing

  20. Sundar Pandey September 1, 2019 at 10:35 pm - Reply

    Thanks for your time for creating such valuable tutorial.

Leave A Comment

*