python_code_412
- python :‘’and “”any differences?
- python 可以类似 matlab 用1:n索引数组 arr[2:len(arr)] 从0计数
- Pulling in just a single function from a module is called a function import, and it's done with the
from
keyword: from math import sqrt - a way to handpick the variables and functions we want from modules: from math import *
- the
type()
function returns the type of the data it receives as an argument - == 与 =