randomMRP.py
def reward(self, s):
        """
            Return the immediate reward when it is in state s.
        """
        return self.rewards[s]

            Return the immediate reward when it is in state s.
        
Return the immediate reward when it is in state s.
Return the immediate reward when it is in state s .
def reward(self, s):
        return self.rewards[s]
def reward ( self , s ) : return self . rewards [ s ]
Return the immediate reward when it is in state s.
Return the immediate reward when it is in state s .
"""
            Return the immediate reward when it is in state s.
        """
self
s