So I have this code:
food={'banana': 3, 'fish': 10, 'pineapple': 1, 'apple': 7}
print("Food       "+"Amount")
for x in food:
    print (x,end="       ")
    print (food[x])
The output is this:
Food       Amount
banana       3
fish       10
pineapple       1
apple       7
But how can make the numbers line up like this:
Food       Amount
banana       3
fish         10
pineapple    1
apple        7
Any tips are appreciated.
 
    