def step(self, s, a):
    'Given a state and an action, returns a new state and a reward.\n\n\t\tParameters\n\t\t----------\n\t\ts : int\n\t\t\tCurrent state\n\t\ta : int\n\t\t\tAction to take\n\t\t'
    s_prime = np.random.choice(self.no_of_states, p=self.p[s][a])
    r = self.R[s_prime].get()
    return (s_prime, r)
Given a state and an action, returns a new state and a reward.

Parameters
----------
s : int
        Current state
a : int
        Action to take
def step(self, s, a):
    'Given a state and an action, returns a new state and a reward.\n\n\t\tParameters\n\t\t----------\n\t\ts : int\n\t\t\tCurrent state\n\t\ta : int\n\t\t\tAction to take\n\t\t'
    s_prime = np.random.choice(self.no_of_states, p=self.p[s][a])
    r = self.R[s_prime].get()
    return (s_prime, r)