Getting A Key From Dictionary

Introduction

 
In this blog, I will explain how to get the key from the Dictionary. It will display in the Run Window.
 
Software Requirement
 
Python 3.5.2.
 
Simple Programming
  1. print("Welcome To C# corner.....")  
  2. print("Gretting Key From A Dicitionary :")  
  3. courses={}  
  4. courses["php"]="HyperText PreProccesor"  
  5. courses["html"]="Hypertext Markup Language"  
  6. courses["xml"]="Xtensiable Markup Languages"  
  7. courses["css"]="Cascading Style Sheet"  
  8.   
  9. print(courses)  
  10. temp=courses.keys()  
  11. print(list(temp))  
Explanation
 
In this blog, I will explain about the keyword display in the Run module. I have given some explanation in the program and see the output in the Run Window.
 
Output
 
Output
Next Recommended Reading How to Create Dictionary in Python