# Dictionary
dict1 = {1:'A', 2:'B', 3:'C'}
# List of the keys
keysList = list(dict1.keys())
print(keysList)
# List of the values
valuesList = list(dict1.values())
print(valuesList)
hh = {"a":3, "b":4, "c":5}
print(hh.keys())
# dict_keys(['a', 'b', 'c'])
print(list(hh.keys()))
# ['a', 'b', 'c']
#python 3
for k,v in dict.items():
print(k, v)
#dictionariies
programming = {
"Bugs": "These are the places of code which dose not let your program run successfully"
,"Functions":"This is a block in which you put a peice of code"
,"Shell":"This is a place where the code is exicuted"
}
print(programming["Bugs"])
print(programming["Shell"])
for eliment in programming:
print(eliments)