原文链接:https://www.wolfram.com/language/fast-introduction-for-programmers/en/assignments/
正文
Values can be assigned using =,this is “immediate” assignment. 可以使用=进行赋值,这是立即的赋值
An alternative is delayed assignment, where the value is recomputed every time it is needed: 另一种是延迟赋值,每当变量需要时数值都会被重新计算
![Mathematica入门[7]–Assignments(赋值)](https://img.mathpretty.com/snipaste_20170925_191833.png)
Clear the assignments: 清除赋值
![Mathematica入门[7]–Assignments(赋值)](https://img.mathpretty.com/snipaste_20170925_191851.png)
在python中使用
del来清除变量
# 对a赋值
a = [1,2,3]
print(a)
# 清除变量
del(a)
print(a)
![Mathematica入门[7]–Assignments(赋值)](https://img.mathpretty.com/snipaste_20170925_192344.png)
一些单词及句子
hint:提示
assignments:赋值
- 微信公众号
- 关注微信公众号
-
- QQ群
- 我们的QQ群号
-


![Mathematica入门[13]–Associations(关联)](https://img.mathpretty.com/20210911_162004_canayhp.jpg)
![Mathematica入门[12]–Options(选项)](https://img.mathpretty.com/20210911_162028_ouho1s3.jpg)
![Mathematica入门[11]–Applying Functions(函数应用)](https://img.mathpretty.com/20210911_162034_vx99031.jpg)
![Mathematica入门[10]–Pure Functions(纯函数)](https://img.mathpretty.com/20210911_162041_2wlslen.jpg)
![Mathematica入门[8]–Patterns(模式)](https://img.mathpretty.com/20210911_162025_0gwx5df.jpg)
![Mathematica入门[5]--Lists(列表)](https://img.mathpretty.com/20210911_162132_3tfm36s.jpg)
![Mathematica入门[4]--Symbolic Expressions(符号表达式)](https://img.mathpretty.com/20210911_162124_pk73t7w.jpg)

评论