Dictionaries Practice: Python Basics Exercises

Publicado el: 14 marzo 2024
en el canal de: Real Python
1,412
77

This is a preview of Python Basics Exercises: Dictionaries. 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.

In this preview you’ll work through several exercises to practice working with Python dictionaries.

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

The rest of the course covers:
Working with enumerate()
Deleting a dictionary key
Complete a multiple step coding challenge with Python dictionaries


En esta página del sitio puede ver el video en línea Dictionaries Practice: Python Basics Exercises de Duración hora minuto segunda en buena calidad , que subió el usuario Real Python 14 marzo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,412 veces y le gustó 77 a los espectadores. Disfruta viendo!