Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion maths/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@
"""
Calculate the Volume of a Cuboid.

:return: multiple of `width`, `length` and `height`
Wikipedia reference: https://en.wikipedia.org/wiki/Cuboid

:return: :math:`width \cdot height \cdot length`

Check failure on line 179 in maths/volume.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (W605)

maths/volume.py:179:40: W605 Invalid escape sequence: `\c` help: Use a raw string literal

Check failure on line 179 in maths/volume.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (W605)

maths/volume.py:179:27: W605 Invalid escape sequence: `\c` help: Use a raw string literal

Check failure on line 179 in maths/volume.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (W605)

maths/volume.py:179:40: W605 Invalid escape sequence: `\c` help: Use a raw string literal

Check failure on line 179 in maths/volume.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (W605)

maths/volume.py:179:27: W605 Invalid escape sequence: `\c` help: Use a raw string literal

>>> vol_cuboid(1, 1, 1)
1.0
Expand Down
Loading