Python Tutorial: Extracting values from dictionaries with for loops

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025
  • Learn the basics of obtaining values from Python 3 dictionaries through the use of for loops. We will be covering different methods that automatically extract dictionary keys, values, or both at once.
    Don't forget to like and subscribe!!!
    Previous video:
    Python Basics | Dictionaries
    • Python Tutorial: Dicti...
    #python #dictionaries #PracticalCoding

Комментарии • 21

  • @Zenoandturtle
    @Zenoandturtle Год назад +3

    Top notch presentation. I’ve been working on a rather complex Trading Bot algorythm and this was the video I was after. Thanks a million.
    Clear and informative. Thanks again.

  • @johnturman2829
    @johnturman2829 2 года назад +4

    Great presentation! This is exactly the information and instruction I needed to complete a major task I am currently trying to finish. The content in the video was arranged logically, it was also simple to follow, and very well paced. Thanks!

  • @SL-me5tb
    @SL-me5tb 2 года назад +2

    I GENUINELY LOVE YOU FOR MAKING THIS VIDEO

    • @easydatascience2508
      @easydatascience2508 2 года назад

      You can really watch my playlists for Python and R, welcome !

  • @africantales124
    @africantales124 4 месяца назад

    You're good. Thanks 👍

  • @alenrejimon7472
    @alenrejimon7472 Год назад

    thanks sir, as part of my project i am really suffering, how to answer the the questions your video hlped me a lot
    u will also be in our mind sir@love u
    always looking from you such informative videos and all

  • @EdySmi
    @EdySmi 6 месяцев назад

    This is great. Would love to see how it works for a dictionary within a dictionary. I keep getting errors :/

  • @mohammadislam3870
    @mohammadislam3870 Год назад +1

    Thank you sir. Great explanation. But I am trying to find how many times each number is repeating from a given list by using dictionary in Python. Can you please help? Thanking you in advance.

  • @shereenbataineh7251
    @shereenbataineh7251 2 года назад

    Good job 👍🏻

  • @efeoriakhi7724
    @efeoriakhi7724 Год назад

    Implement a class "Book" with attributes like "title" and "author." Include a method to check if two books are the same (having the same title and author) in python? can you help me with this

  • @nicoeuniceargueza9273
    @nicoeuniceargueza9273 3 года назад +1

    How to compare in a dictionary if the key is a substring of the value and print out the items? Eg. {Mariana: Marianapolis, Diana: Aeropol, Keri: Keriona, Jerry: Holla}
    The print out is expected to be
    Mariana:Marianapolis
    Keri:Keriona
    Pls help. Thank you!

  • @oguzturkyilmaz543
    @oguzturkyilmaz543 3 года назад

    Thank you very much

  • @jalanderreddy8729
    @jalanderreddy8729 3 года назад

    Using while loop how to print the dictionary values

  • @larrycash5250
    @larrycash5250 Месяц назад

    Tried it not working on dicts

  • @classactionsteve
    @classactionsteve 3 года назад

    Why did you concert the string value to a string value

    • @classactionsteve
      @classactionsteve 3 года назад

      Convert*

    • @PracticalCoding
      @PracticalCoding  3 года назад +1

      You know I have no idea what I did in these videos. It's bee so long since I've recorded them. Right now I'm working on replacing all of my older stuff because I know there's redundancies in the code

    • @classactionsteve
      @classactionsteve 3 года назад

      @@PracticalCoding haha I get It. Just wondering if I missed something. Either way, cool!!

  • @klimpaparazzi
    @klimpaparazzi 3 года назад

    I would say that you do not need such a large screen for a small example. When you record, make the recording area small. Also, for better sound, record the video, and then record you voice-over. When you combine them you get better sound, and you won't have to have the keyboard clicks and background noise.

  • @jesuisravi
    @jesuisravi 3 года назад +4

    friend, this is a good video but it could be much better if you had magnified the code. Whenever I watch a coding tutorial where the coding has been magnified I heave a sigh of relief. When the code is just a raw screen capture, no matter how talented the instructor is, I go hunt elsewhere for the information.