Kebab file names

This commit is contained in:
Angelos Chalaris
2023-04-27 22:00:06 +03:00
parent b9c77eb413
commit f6a215e9e3
107 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,22 @@
---
title: Degrees to radians
tags: math
cover: digital-nomad-6
firstSeen: 2019-10-15T14:31:11+03:00
lastUpdated: 2020-11-02T19:27:53+02:00
---
Converts an angle from degrees to radians.
- Use `math.pi` and the degrees to radians formula to convert the angle from degrees to radians.
```py
from math import pi
def degrees_to_rads(deg):
return (deg * pi) / 180.0
```
```py
degrees_to_rads(180) # ~3.1416
```