You can type a degree symbol with your keyboard using key combinations on a computer or numerical keyboard menus on a phone ...
You can connect a Magic Keyboard to your Mac through Bluetooth or using the Lightning port and charging cable.