python code successfullly reproduce the Gambler problem, Figure 4.6 of Chapter 4 on Sutton's book,
The code can reproduce the Figure 4.6 of the book "Reinforcement Learning: An Introduction by Richard Sutton and Andrew Barto"
The program file is gamblerDP.py