Ascendeum interview question

Snake and ladder game in python