Implement The Corresponding Markov Chain In Python

Implement The Corresponding Markov Chain In Python