Introduction

In this blog, I am going to explain about making the dictionary in Python. I will create the dictionary and display it in the Run module.
Software Requirement
Python 3.5.2.
Simple Programming
  1. print("Welcome To c#corner.......")
  2. print("Dictionary :")
  3. Greetings={}
  4. Greetings["Morning"]="Good Morning..."
  5. Greetings["Afternoon"]="Good Afternoon..."
  6. Greetings["Evening"]="Good Evening..."
  7. Greetings["Night"]="Good Night..."
  8. print(Greetings)
  9. print("%s" % Greetings["Night"])
  10. print("%s" % Greetings["Afternoon"])
Explanation
In this blog, I will explain about making the dictionary in Python. It will be used to see it in the Run Window.
Output
Output