Skip to content

dictionary

Stefano Barbareschi edited this page Oct 8, 2026 · 1 revision

DICTIONARY

Think of a dictionary as a contact list on your phone. Each person’s name is saved, and next to it, you store their age.

Example in Simple Terms Let’s say you want to store a person's name and age:

  • "name" is the key, and "John" is the value.
  • "age" is the key, and 30 is the value.

This means you can ask the dictionary for John's age by looking up the "age" key.

It's like asking:

"What is John's age?" The dictionary answers: 30

In dictionary (dictionary name) Get value for key [key]

Using this block, you can retrieve the value of a given key in a dictionary. To do this, place the name of an existing dictionary in the first slot and the key associated with the value in the second slot.

INDictonary.mp4

Clone this wiki locally