Align strings over a common character

I am looking for a simple, pythonic way of doing this with the minimum calculations and loops. I have a bunch of strings, such as: 1 + 2 = 3 2*6 + 13 = 25 What I would like to print at the screen is:…