```python
degree_symbol = '\u00B0'
angle = 60
print(f"The angle is {angle}{degree_symbol}")
2. 使用第三方库,如`math`库:
```python
import math
angle = 60
angle_symbol = math.degrees(angle)
print(f"The angle is {angle}{angle_symbol}°")
以上两种方法都可以用来在Python中表示度