If the message. The content [- 2:]=='? ': MSG=message. The content [: - 2] +'! 'MSG=MSG. Replace (' you', 'I') return MSG elif message. The content [- 5:]=='girlfriend? ': MSG=message. The content of MSG=MSG. Replace (' you', 'I') MSG=MSG [: 2] + 'your girlfriend! 'return MSG elif message. The content [- 2:]=='? ': MSG=message. The content of MSG=MSG. Replace (' you', 'I') MSG=MSG [: 2] + 'your little moxa! 'return MSG return message. The content of input: you are my girlfriend?
Reply: I is my girlfriend!
why? What is going wrong?