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