why my keyboard is changing a to q and z to w ?

Hi folks
sometimes as I am busy with the python editor, it switches (is it me who type a wrong key combination ALT+… ?) from azerty to querty or something
does any one know how to switch it back ??

mery Xmas
Happy new year