题目

请判断如下程序的运行结果是将三个数(  )。 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("这3个数新序列是:",x,y,z) A . 从小到大排序 B . 从大到小排序 C . 都变成最大的数 D . 都变成最小的数 答案:A
信息技术 试题推荐
最近更新