I try to print to print a space with Specification Mini-Language with using variables.
for example:
instead of this
print('{:>10}'.format('hello'))
I want do this:
i = 10
print('{:>i}'.format('hello'))
I get this error:
ValueError: Unknown format code 'i' for object of type 'str'