Introduction to Python Dictionaries: Python Basics

Veröffentlicht am: 08 Dezember 2022
auf dem Kanal: Real Python
3,064
86

In plain English, a dictionary is a book containing the definitions of words. Each entry in a dictionary has two parts: the word being defined, and its definition.

Python dictionaries, like lists and tuples, store a collection of objects. However, instead of storing objects in a sequence, dictionaries hold information in pairs of data called key-value pairs. That is, each object in a dictionary has two parts: a key and a value. Each key is assigned a single value, which defines the relationship between the two sets.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...

The rest of the course covers how to:
Checking the Existence of Dictionary Keys
Iterating Over Dictionaries
Nesting Dictionaries
A Challenge Exercise to Test Your Learning


Auf dieser Seite können Sie das Online-Video Introduction to Python Dictionaries: Python Basics mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Real Python 08 Dezember 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,064 Mal angesehen und es wurde von 86 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!