题目

执行下列程序以后的结果是(    ) print("请输入3个数:") x=int(input("x= ")) y=int(input("y= ")) z=int(input("z= ")) temp=0 if x>y:     temp=y     y=x     x=temp if x>z:     temp=z     z=x     x=temp If y>z:     temp=z     z=y     y=temp print(x, y, z) A . 从小到大排序 B . 从大到小排序 C . 都变成最大的数 D . 都变成最小的数 答案:A
信息技术 试题推荐
最近更新