※ 引述《gamemaster (.....)》之銘言:
: 有沒有人會寫python的程式
: 寫簡單的微積分運算…
: 酬勞1000元
------------------------------
開新檔案,並把中間那段copy進test.py並存檔
------------------------------
$vi test.py
------------------------------
#!/usr/local/bin/python
y=input("please enter a number: ")
output='X^'+`y`+' = '+`y`+'* X^'+`y-1`
print output
-------------------------------
執行下面的指令
--------------------------------
$python test.py
=======
這樣就完成簡單的對x微分的輸出
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.28.87