Want to make creations as awesome as this one?

Transcript

SECOND PERIODBy Jarol Torres

CODE

DICTIONARIES

DATA STRUCTURE IN PYTHON:

CODE.

CODE.

So that is what a key-value pair is. And in Python, this structure is stored using Dictionaries.

think of a phone directory where hundreds and thousands of names and their corresponding numbers have been added

Dictionaries are used to store key-value pairs

Context
What are Dictionaries in Python?

QUESTION OF THE DAY

CODE.

About examples of dictionary ideas in real life... what else can be a dictionary?

LET'S THINK!

Problem Solving

CODE.

Topic
Dictionaries can be created using the flower braces or using the dict() function. You need to add the key-value pairs whenever you work with dictionaries.

HOW DOES IT WORK?

CODE.

Let's go now to work about dictionaries, follow up the Classroom to get the activity for today's class

Goal