title: IndexError: Replacement index 2 out of range for positional args tuple
body: <pre><code>class Exercise:
      def __init__(self, *args):
          self.args = args
  
      def format(self, mode):
          if mode == &quot;order&quot;:
              return &quot;{2} - {1} - {0}&quot;.format(*self.args)
  
  ex = Exercise()
  s = ex.format('order').format('third', 'second', 'first')
  print(s)
  </code></pre>
  <p>I tried running this code but it returned the error as stated in the title. What am I doing wrong here?</p>