News for hackers. Stuff that matters.
Re:Hyperpolyglot: PHP, Perl, Python, Ruby by Kwpolska on Sunday August 14, 2011 @04:23AM (#2883115)
python, statement separator: not "sometimes", but "usually"

python, multiline comment: not quite. print '''foo''' outputs "foo". This is a string literal, and """foo""" is more popular.

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())