展开全部
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.
IPython 1.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
%guiref -> A brief reference about the graphical user interface.
In [1]: random.rand(4,4)
Out[1]:
array([[ 0.76744987, 0.61668256, 0.06223992, 0.74588473],
[ 0.3084096 , 0.09108339, 0.52193784, 0.28454493],
[ 0.82903201, 0.49345398, 0.25438691, 0.65500096],
[ 0.73637289, 0.78418204, 0.23357709, 0.78960083]])
已赞过
已踩过<
你对这个回答的评价是?
评论
收起