human
Formatting text to be justified in Python 3.3 with .format() method
assistant
Here is some code to right align string `mystring` with a width of 7

"""{:>7s}""".format(mystring)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.