So here is the code and I would like to print out the variables from the dictionary in a different order how do I do that?
    phonebook = {}
    line = input('Name and clour: ')
    while line:
     name, color = line.split()
     phonebook[name] = color 
     line = input('Name and clour: ')
    for x, y in phonebook.items():
    print(x, y) 
 
     
    