code: def run(self, steps=1000):
          "Run the Environment for given number of time steps."
          for step in range(steps):
              if self.is_done(): return
              self.step(f run(self, steps=1000):
          "Run the Environment for given number of time steps."
          for step in range(steps):
              if self.is_done(): return
              self.step()
docs: Run the Environment for given number of time steps.