LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 03-14-2021, 07:15 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,639

Rep: Reputation: 118Reputation: 118
LXer: Learn Python dictionary values with Jupyter


Published at LXer:

Dictionaries are the Python programming language's way of implementing data structures. A Python dictionary consists of several key-value pairs; each pair maps the key to its associated value.For example, say you're a teacher who wants to match students' names to their grades. You could use a Python dictionary to map the keys (names) to their associated values (grades).If you need to find a specific student's grade on an exam, you can access it from your dictionary. This lookup shortcut should save you time over parsing an entire list to find the student's grade.read more

Read More...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
whats a good IDE to learn python or is there a better option to learn python? mattymac Linux - Software 20 06-13-2021 10:52 PM
LXer: Edit images with Jupyter and Python LXer Syndicated Linux News 0 08-16-2020 05:15 PM
LXer: IPython is still the heart of Jupyter Notebooks for Python developers LXer Syndicated Linux News 0 06-13-2019 02:52 PM
LXer: Ansible, Linux apps, Jupyter Notebooks, a Raspberry Pi baby monitor, Python, and more LXer Syndicated Linux News 0 04-02-2018 09:22 PM
Python, find unique values in a tuple or dictionary action_owl Programming 2 05-11-2010 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration