解题思路:
注意事项:
参考代码:
def input_():
a=list(map(int,input().split()))
deal(a)
def deal(x):
x.sort()
temp=x[0]
x[0]=x[len(x)-1]
x[len(x)-1]=temp
output_(x)
def output_(y):
for i in y:
print(i,end=' ')
input_()
0.0分
0 人评分
C语言程序设计教程(第三版)课后习题9.6 (C语言代码)浏览:618 |
C语言程序设计教程(第三版)课后习题3.7 (C++代码)浏览:1020 |
【偶数求和】 (C语言代码)浏览:670 |
C语言程序设计教程(第三版)课后习题6.10 (C语言代码)浏览:896 |
C语言程序设计教程(第三版)课后习题5.4 (C语言代码)浏览:595 |
C语言程序设计教程(第三版)课后习题7.2 (C语言代码)浏览:812 |
C语言程序设计教程(第三版)课后习题9.6 (C语言代码)浏览:383 |
1908题解浏览:676 |
1113题解浏览:814 |
模拟计算器 (C++代码)浏览:881 |