下列程序可以列出9×9乘法表。for i in range(1, 9):for j in range(1, 9):result =i*jprint("%d*%d=%-3d" %(i,j, result),end=" ")print( )
查看答案
break指令可以让for或 while循环中断。
A. 对
B. 错
凡是使用for语句的循环,只要直接将for改为 while,皆可正常执行,而获得相同的结果。
A. 对
B. 错
MATLAB中,要绘制三维空间曲线,应该使用( )函数。
A. polar
B. plot
C. subplot
D. plot3
在绘图时候,指定线条粗细是用( )
A. linewidth
B. markeredgecolor
C. markerfacecolor
D. markersize