![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
_OscarLi
这个作者很懒,什么都没留下…
展开
-
Python List
Python List %Lists start at zero x = ["a","b","c"] y = x y[1]='z' print(y) ['a', 'z', 'c'] ∙\bullet∙ Contain any type ∙\bullet∙ Name a collection of values fam = ["liz",1.73,'emma',1.68,'mom'] fam[3] 1.68 NumPy array(NumPy) vs list(python) import nump原创 2020-09-27 18:30:12 · 59 阅读 · 0 评论 -
数据结构
f(x)=a0+a1x+⋯+an−1xn−1+anxnf(x)=a_{0}+a_{1} x+\cdots+a_{n-1} x^{n-1}+a_{n} x^{n}f(x)=a0+a1x+⋯+an−1xn−1+anxn input:i,xix_ixi,a[…\dots…]–List a=[3,43,54,22] def func(x): for m in range(0,3): p=a[m]*x**m return x func(3) 3 f(x)=原创 2020-09-27 18:24:50 · 88 阅读 · 0 评论