# MORE ABOUT DICTIONARY: friends = {'Anna': '070-1122334', 'Pelle': '0732255889', 'Olle': '0708877441'} print('\nPrint the keys:') for x in friends.keys(): print(x) print('\nPrint the values:') for z in friends.values(): print(z) print('\nPrint the pairs:') for a, b in friends.items(): print(a,'\t ', b) # ============================================ print('\nPrint the keys:') for a in friends: print(a) print('\nPrint the pairs:') for a in friends.items(): print(a) # Printar en tuple # # ============================================ # # DICTIONARY COMPREHENSION: # print() # code = {chr(i):i for i in range(65,91)} # print(code)