题解 | #明明的随机数#
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
N = int(input()) nums = [] for i in range(N): nums.append(int(input())) #print(nums) ls = list(set(nums)) ls.sort() for i in ls: print(i)
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
N = int(input()) nums = [] for i in range(N): nums.append(int(input())) #print(nums) ls = list(set(nums)) ls.sort() for i in ls: print(i)
相关推荐