This programm is a Point-Accumulation game, like a rpg game. The code performs the functions below:
Type 'walk' = +1 point Type 'study' = +3 points Type 'train' = +2 points
Then, when the user type 'exit', the program ends, showing: 'Game finished' and the total player's point.