To type the symbol ~, first hold down shift and then press ~, otherwise it will be typed as or `.
As shown in the figure, all the buttons circled by me press shift to type the symbol above, instead of pressing Shift to type the symbol below.
There is also a key on the keyboard that can have two active keys.
This can be switched with the num lock key.
When this indicator light is on, type the up key, and when it is off, type the down key.