agents
agents copied to clipboard
1_lab1.ipynb - small conversion to properly render Latex in Markdown
Nothing important, but still nice to see fully rendered :-) ..................................................................................................................
1_lab1.ipynb, cell 14 - content of converted_answer is in Markdown with Latex. To properly render Latex, we need to make a small conversion:
from IPython.display import Markdown, display
import re
# convert \[ ... \] to $$ ... $$, to properly render Latex
converted_answer = re.sub(r'\\[\[\]]', '$$', answer)
display(Markdown(converted_answer))