diff --git a/chapter04/CarRental.py b/chapter04/CarRental.py index ab856133..76059af6 100644 --- a/chapter04/CarRental.py +++ b/chapter04/CarRental.py @@ -186,7 +186,7 @@ def expectedReturn(state, action, stateValue): stateValue[:] = newStateValue prettyPrint(policy, ['# of cars in first location', '# of cars in second location', '# of cars to move during night']) -prettyPrint(stateValue, ['# of cars in first location', '# of cars in second location', 'expectd returns']) +prettyPrint(stateValue, ['# of cars in first location', '# of cars in second location', 'expected returns']) plt.show()