I have a string:
testString = """ My name is %s
and I am %s years old
and I live in %s"""
I have code that finds these three strings that I want to input into testString. How do I do that? In Java I would've done:
return String.format(testString, string1, string2, string3)
Is there an equivalent in Python?