s = '%.*s = %.*f' % (3, 'Gibberish', 3, 2.7182)