Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
smilliken
on Aug 14, 2011
|
parent
|
context
|
favorite
| on:
Hyperpolyglot: PHP, Perl, Python, Ruby
Under variable interpolation, there is nothing listed for python, but the equivalent is this:
count = 3 item = "ball" print('%(count)s %(item)ss' % locals())
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: