以下程序对输入的两个整数,按从小到大的顺序输出,请在()内填空。a = int(input("输入a的值:"))b = int(input("输入b的值:"))if (①):t = aa = b(②)print(a,b)
查看答案
下列程序可以列出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( )
A. 对
B. 错
break指令可以让for或 while循环中断。
A. 对
B. 错
凡是使用for语句的循环,只要直接将for改为 while,皆可正常执行,而获得相同的结果。
A. 对
B. 错
MATLAB中,要绘制三维空间曲线,应该使用( )函数。
A. polar
B. plot
C. subplot
D. plot3