问题描述
print("Gamma^",syms[i],"_",syms[j],syms[k],"=",syms[1],syms[2]**2)
当我在 jupyter-lab 中打印时,它看起来像这样
Gamma^ r _ phi phi = r theta**2
Gamma^ theta _ r theta = r theta**2
Gamma^ theta _ theta r = r theta**2
Gamma^ theta _ phi phi = r theta**2
Gamma^ phi _ r phi = r theta**2
Gamma^ phi _ theta phi = r theta**2
Gamma^ phi _ phi r = r theta**2
Gamma^ phi _ phi theta = r theta**2
有没有办法让它变成这样
或至少非常相似