How to format output to create space between two variables in python when printing?
<p>I'm trying to create an output that would look something like this:</p>

<p><a href="https://i.stack.imgur.com/Ndu4b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ndu4b.png" alt="enter image description here"></a> </p>

<p>As can be seeing in here, the left column spaces are lined up to the left and the right column is lined up from the right side. But for my output, I am getting left column lined up to the right side and right column lined up to the left. I want to do vice versa. Here is the output of what I am actually getting out of my second code where I have tried to use the format function: </p>

<p><a href="https://i.stack.imgur.com/rTNuT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rTNuT.png" alt="enter image description here"></a> </p>

<p>It works but I am just trying to learn adjusting and formatting spacing when the string output moves. 
 It would also be nice to know how to do it if I were to have more than 3 variables.</p>

<pre><code>print("Kilograms    Pounds")

for kg in range(0, 199): 
    kg += 1 
    lb = 2.2   
    lb = kg * lb   
    lb = round(lb, 2)
    print(format(kg, "4d"), end = '')

    for i in range(1, 2):
        print("        ", lb, end = '')
    print()
</code></pre>

<p>Here is my initial code where I attempted to do that but the spacing is screwed up but the left column in here lies perfectly fine, but the spacing can be seeing on the right side after the output increases to double digits.</p>

<pre><code>print("Kilograms    Pounds")

for kg in range(0, 199):
    kg += 1 
    lb = 2.2  
    lb = kg * lb   
    print(kg, '          ', round(lb, 2)) 
</code></pre>

<p>Output:</p>

<p><a href="https://i.stack.imgur.com/I08rW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I08rW.png" alt="enter image description here"></a></p>

<p>I'm new to python so still a complete noob. I would really appreciate the explanation of how to deal with format or weather there is alternatives to it.
Thank you!
Code:</p>