print('The {2} {1} {0}'.format('fox', 'brown', 'quick')) result = 100/777 print('{newvar}'.format(newvar = result)) print('the result was {r:0.3f}'.format(r = result))