2 ms·
Should be able to do both of those with % as well: print '%(foo)s %(bar)s' % dict( foo='foo', bar='bar', )
by mixmastamyk 12y ago
Should be able to do both of those with % as well:
print '%(foo)s %(bar)s' % dict(
foo='foo',
bar='bar',
)
- a3n 12y agohuh. I like it when I learn something new every day.