Hacker News new | ask | show | jobs
by majke 3992 days ago
Sure, with old syntax you can do it as well:

>>> print('%(language)s has %(number)03d quote types.' %

... {'language': "Python", "number": 2})