python_code_412

  1. python :‘’and “”any differences?
  2. python 可以类似 matlab 用1:n索引数组 arr[2:len(arr)] 从0计数
  3. 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
  4. a way to handpick the variables and functions we want from modules: from math import *
  5. the type() function returns the type of the data it receives as an argument
  6. == 与 =
posted @ 2015-04-14 09:26  Rayvin  阅读(360)  评论(0编辑  收藏  举报