@Moein_82 - while these guys have given you code that works, i still feel like you've completely missed what you were actually doing wrong with your attempt at 'find'. try thi...
Why are you using single-character variable names? Are you paying by the character? What is the actual result of M.find("K" or "k"), and how does this interact with 'if'? Does...