Skip to content

Commit d83edf5

Browse files
committed
deg is not callable
1 parent 8ed39d8 commit d83edf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

episodes/06-units_and_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ u.rad.find_equivalent_units()
295295
We can see from this that the degree unit is `u.deg`, so we can use this to define our angles:
296296

297297
```python
298-
angle = 90 * u.deg()
298+
angle = 90 * u.deg
299299
print('angle in degrees: {}; and in radians: {}'.format(angle.value,angle.to(u.rad).value))
300300
```
301301

0 commit comments

Comments
 (0)