### Bug description

Hi,

Is it possible to use Python variables in LaTeX expressions similarly to that it is possible for R variables?
Namely, the following qmd-file
`````
---
title: "Test Knitr"
format: html
---

```{r}
x <- 1 #Code in R
```

Test: $x= `r x`$ 

```{python}
y = 1 #Code in Python
```

Test: $y= `python y`$ 
`````

reproduces the expected line for R `Test: x=1`, but not for Python ``Test: y= `python y` `` (the same is in pdf, btw).

I am not sure if it is a bug or if the corresponding feature is not released yet.



### Checklist

- [ ] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [ ] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [ ] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [ ] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
cscheid
2023-03-25T10:46:55Z
finkelshtein
enhancement
v1.4
open
Python variables cannot be used in LaTeX expressions
https://github.com/quarto-dev/quarto-cli/issues/4961