Human: String Formatting in Python 3 Assistant: 
Here is some code to format string "({} goals, ${})" with variables `goals` and `penalties`

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

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