#encoding:utf-8 #有序 list 集合 #a = [1,100,2,4,3] ######–…
#encoding: utf-8 import random # number1 = float(input(…