Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 301 Bytes

python_learning.md

File metadata and controls

19 lines (14 loc) · 301 Bytes

数组定义 js: var array = new Array();array[0] = a,array[1] = 1; var array = Array(1,2); var array = [1,2]; python: array = [1,2]; numpy:array = array([1,2])

函数定义 js: function myFuc(arg1,arg2...){ .................. } python: def myFuc(arg1,arg2.....): ..... .....