Macbook Pro taking wrong input
My MacBook pro 2012 A1278 is taking all input like shift key is pressed. Like all letters in capital and numbers in special characters. But only when I am trying to login and typing my password. I can't login to it. Not taking any command also like reset command. And my mac's keyboard is fine. Please tell me what to do?
MacBook Pro 13″, macOS 10.13