Introduction
In this blog, I will explain how to get the key from Dictionary. It will display in the Run Window.
Software Requirement
Python 3.5.2.
Simple Programming
- print("Welcome To C# corner.....")
- print("Gretting Key From A Dicitionary :")
- courses={}
- courses["php"]="HyperText PreProccesor"
- courses["html"]="Hypertext Markup Language"
- courses["xml"]="Xtensiable Markup Languages"
- courses["css"]="Cascading Style Sheet"
-
- print(courses)
- temp=courses.keys()
- print(list(temp))
Explanation
In this blog, I will explain about the key word display in the Run module. I have given some explanation in the program and see the output in the Run Window.
Output