题解 | #明明的随机数#
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
num=int(input()) count=0 l=[] while count<num: tmp=int(input()) l.append(tmp) count+=1 l_set=set(l) l=list(l_set) l.sort() for i in l: print(i)
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
num=int(input()) count=0 l=[] while count<num: tmp=int(input()) l.append(tmp) count+=1 l_set=set(l) l=list(l_set) l.sort() for i in l: print(i)
相关推荐