Python Basics - Data Types Part 4 |

Published: 15 July 2026
on channel: AriCodes
22
0

Mapping Data Types:
A mapping data type is a container data structure that stores information in key-value pairs, allowing you to look up a value using a unique identifier called a key.

Keys are unique and immutable but values can be mutable and duplicated

The single standard built-in mapping data type in Python is the dictionary (a collection of key-value pairs), denoted by dict, and initialized using {} i.e. curly braces and : i.e. colon between key-value pairs.
{key:value}

Code:
user = {
"name": "AriCodes",
"age": 3,
"skills": ["Python", "HTML", "CSS"]
}
print(user)
print(user.get("name"))


On this page of the site you can watch the video online Python Basics - Data Types Part 4 | with a duration of hours minute second in good quality, which was uploaded by the user AriCodes 15 July 2026, share the link with friends and acquaintances, this video has already been watched 22 times on youtube and it was liked by 0 viewers. Enjoy your viewing!