簡體   English   中英

Sympy 無法在 jupyter notebook 上輸出符號

[英]Sympy can't output a symbol on jupyter notebook

每個人! 我在這個平台上很新,有一件事需要你的幫助。 我在 jupyter notebook 上使用 sympy 並且我正在編寫一個虛擬公式,平方根,但是這個符號的輸出不是根符號,實際上它輸出的是 sqrt 。

我給你們舉個例子

import sympy

In: sympy.sqrt(3)

Out :sqrt(3)

這是 SymPy 的正常行為。 我現在無法測試它,但嘗試在調用sqrt函數之前在代碼中添加init_printing(use_unicode=True)

來源: https : //docs.sympy.org/latest/tutorial/intro.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM