Keyboard Keys typing wrong numbers

I have a HP notebook and when I type a 5 it comes up as a t and when I type 6 it comes up as a y? I’ve had someone look at it for me but he thinks it’s a hardware issue and a new keyboard is necessary?? Has anyone come across this before?? Thanks