Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python 3.6.0 released. Parent comment
def template(name, age): return f"My name is {name} and I am {age} .." formatted = template('Amy', 32)
[Edit: I only started learning Python recently, and this is how I'd think of doing it come from JS:
const template = (name, age) => `My name is ${name} and I am ${age}`; const formatted = template('Amy', 32); ]
[Edit: I only started learning Python recently, and this is how I'd think of doing it come from JS: