Skip to content

Comment on Python for the impatient

Comments

    print "foo=%(foo)s bar%(bar)s" % {foo:123,bar:321}
is incorrect. It should read:
    print "foo=%(foo)s bar%(bar)s" % {"foo": 123, "bar": 321}
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.