使用while循环输出100-50,从大到小,到50的时候,再从0到50输出,然后结束count = 100num = 50while count >= num: print(count) count -= 1else: while num >= 0: print(50-num) num -= 1