<filename>01 - Basics/44-datatypes-iterator-maps.py
# HEAD
# Python Basics - Dictionary Data Types (Maps)
# DESCRIPTION
# Describes how 
#       - dictionary/maps are created
#       - dict function is used to create a dictionary/map
#
# RESOURCES
#


# # NON-SEQUENCE ITERATORS
# Sequence based Iterators allow identification or reference
#       of every loop-able item with an KEY or NO REFERENCE/KEY/INDEX


# # # DICTIONARY
# Dictionaries are key value pairs with key as a reference for item value
# Dictionaries can have integer or string as key
# Key is unique
# Value can be of any type

# Dictionary can have integer as key
var = {1: "s"}

# Dictionary can have string as key
var = {"name": []}

# Using dict function to create a dictionary
var = dict({"name": [1, 2]})

# Using dict function to create a dictionary
var = dict({1: [1, 2]})

# Dictionary can have string or integer as key
var = dict({"s": [1, 2], 1: 2})

<filename>01 - Basics/44-datatypes-iterator-maps.py
# HEAD
# Python Basics - Dictionary Data Types (Maps)
# DESCRIPTION
# Describes how 
#       - dictionary/maps are created
#       - dict function is used to create a dictionary/map
#
# RESOURCES
#


# # NON-SEQUENCE ITERATORS
# Sequence based Iterators allow identification or reference
#       of every loop-able item with an KEY or NO REFERENCE/KEY/INDEX


# # # DICTIONARY
# Dictionaries are key value pairs with key as a reference for item value
# Dictionaries can have integer or string as key
# Key is unique
# Value can be of any type

# Dictionary can have integer as key
var = {1: "s"}

# Dictionary can have string as key
var = {"name": []}

# Using dict function to create a dictionary
var = dict({"name": [1, 2]})

# Using dict function to create a dictionary
var = dict({1: [1, 2]})

# Dictionary can have string or integer as key
var = dict({"s": [1, 2], 1: 2})

# HEAD # Python Basics - Dictionary Data Types (Maps) # DESCRIPTION # Describes how #       - dictionary/maps are created #       - dict function is used to create a dictionary/map # # RESOURCES # # # NON-SEQUENCE ITERATORS # Sequence based Iterators allow identification or reference #       of every loop-able item with an KEY or NO REFERENCE/KEY/INDEX # # # DICTIONARY # Dictionaries are key value pairs with key as a reference for item value # Dictionaries can have integer or string as key # Key is unique # Value can be of any type # Dictionary can have integer as key # Dictionary can have string as key # Using dict function to create a dictionary # Using dict function to create a dictionary # Dictionary can have string or integer as key