题解 | #生成数字列表#
生成数字列表
https://www.nowcoder.com/practice/2d836a1b27a2401eb338eee62953bd43
s = input().split(" ") lst = [] for i in s: lst.append(int(i)) print(lst)
生成数字列表
https://www.nowcoder.com/practice/2d836a1b27a2401eb338eee62953bd43
s = input().split(" ") lst = [] for i in s: lst.append(int(i)) print(lst)
相关推荐