Is it possible to use a variable inside of a Python string formatting specifier?
I have tried:
display_width = 50 print(\'\\n{:^display_width}\'.form
Maybe
print(('{0:^'+str(display_width)+'}').format('hello'))