#!/usr/bin/env python3
#
# Python Workbook - 100 Exercises
# Exercise # NN
#
# Points Value: NN
# 
# Author: Daniel Raphael
#
# ---------------------------------------------------------------------------------------------------------------------
#
# Question: Create a dictionary that contains the keys a  and b  and their respective values 1  and 2 .

# ---------------------------------------------------------------------------------------------------------------------

my_dictionary = {"a": 1, "b": 2}

# Instructor's Answer:
#
# Exercise for reference:
# 
# Create a dictionary that contains the keys a  and b  and their respective values 1  and 2 .
#
# Answer 1:
#
#     d = {"a": 1, "b": 2}
#
# Explanation 1:
#
# Using curly brackets is one way to create a dictionary.
#
# Answer 2:
#
#     d = dict(a = 1, b = 2)
#
# Explanation 2:
#
# A dict  function is another way to create a dictionary. dict  is also used to convert other objects to a dictionary.





























































