To insert the degree symbol (°) on a Mac, follow these steps in any text editing application, including word processors like Microsoft Word and Pages:
Place your cursor where you want to insert the degree symbol.
Press and hold the "Option" (or "Alt") key.
While holding the "Option" key, press the "Shift" key and the "8" key simultaneously.
Release all keys.
The degree symbol (°) should appear at the location of your cursor. This keyboard shortcut works across most applications on a Mac, including text editors, word processors, and web browsers.