I have this code
print("{0:<10} {1:>25}".format("Name", "RAM"))
for droplet in droplets:
print("{0:<10} {1:>25}".format(droplet.name, droplet.memory))
I want it to print out a nice column like this:
Name RAM
example-droplet 1024
ubuntu-s-1vcpu-1gb-nyc1-01 1024
But instead I get this:
Name RAM
example-droplet 1024
ubuntu-s-1vcpu-1gb-nyc1-01 1024
How can I get my desired output?