News for hackers. Stuff that matters.
Re:Hyperpolyglot: PHP, Perl, Python, Ruby by smilliken on Sunday August 14, 2011 @04:31AM (#2883129)
Under variable interpolation, there is nothing listed for python, but the equivalent is this:

    count = 3
    item = "ball"
    print('%(count)s %(item)ss' % locals())

There are no comments on this comment yet.