I am trying to create a list in Python wherein the elements are Latex entries. I have the following code snippet. I have called "from IPython.display import display, Math, Latex".
lst = [r'$a_1$', r'$a_2$', r'$a_3$', r'$a_4$']
print(lst)
I get ['$a_1$', '$a_2$', '$a_3$', '$a_4$'], but the elements are not "Latexed". Is there something I am missing?