human
String Formatting in Python 3
assistant
Here is some code to format string "({0.goals} goals, ${0.penalties})"

"""({0.goals} goals, ${0.penalties})""".format(self)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.