I would like to insert a python variable into a text cell, in google colab.
For example, if a=10
, I would like to insert the a
into a text cell and render the value.
So in the text cell (using Jupyter Notebook with nbextensions) I would like to write the following in the text cell: There will be {{ a }} pieces of fruit at the reception.
It should show up as: There will be 10 pieces of fruit at the reception.
The markdown cheatsheets and explanations do not say how to achieve this. Is this possible currently?