Python string formatting: reference one argument multiple times May 2, 2023 by Tarik "{0} {1} {1}".format("foo", "bar")