write Python code to simulate a person's emotion.