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()
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()
def run ( self , steps = 1000 ) : for step in range ( steps ) : if self . is_done ( ) : return self . step ( )
Run the Environment for given number of time steps.
Run the Environment for given number of time steps .