This may be quite a vague question so i'll try to explain the best way i can. Say if i have 2 variables (with different sized length)
variable_one = "John Doe"
variable_two = "Thomas Smith"
How would i print them in such a way that the output would be consistently spaced in between each variable without knowing the exact length of the strings? For Example if i print them out normally with things in the middle:
print(variable_one + " - Age: 40")
print(variable_two + " - Age: 2")
The output would be:
John Doe - Age: 40
Thomas Smith - Age: 2
How would i automatically make the output consistent with spaces so it would look something like this:
John Doe - Age: 40
Thomas Smith - Age: 2
Thank you :) ~ Pete