***python code*** *In this code I want to compare the previous message with the current message. So I created a variable to save the previous message. I wanted to cr