Medium
Which technique is used in the following code ?
def f(animal, color):
return f"This {animal} is {color}."
args = ["parrot", "red"]
sentence = f(*args)
sentence
>>> This parrot is red.
Author: ThéoStatus: PublishedQuestion passed 128 times
Edit
Similar QuestionsMore questions about Python