News for hackers. Stuff that matters.
Re:Python 3.6.0 released by spraak on Friday December 23, 2016 @10:58AM (#13245332)
What about..

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

]
Re:Python 3.6.0 released by mixmastamyk on Friday December 23, 2016 @03:16PM (#13246989)
Check string.Template from the docs.