imapap


私信TA

用户名:Zjyyyyy

访问量:137

签 名:

等  级
排  名 21351
经  验 655
参赛次数 0
文章发表 1
年  龄 0
在职情况 学生
学  校 吉林农业大学
专  业

  自我简介:

TA的其他文章

解题思路:

注意事项:

参考代码:

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 人评分

  评论区

  • «
  • »