blob: 194c1f43c42908707c8303a9a01133eef0ee71c5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
%% Cell type:code id:5 tags:
``` python
from IPython.display import display, Math
display(Math(r'Dims: {}x{}m \\ Area: {}m^2 \\ Volume: {}m^3'.format(1, round(2,2), 3, 4)))
```
%% Output
$\displaystyle Dims: 1x2m \\ Area: 3m^2 \\ Volume: 4m^3$
|