题解 | #生成连续数字#
生成连续数字
https://www.nowcoder.com/practice/d4c188331e2c4c8e89ab8b06de1c78db
import sys n = int(input()) nums = [] for i in range(2, 2*n+1, 2): nums.append(i) print(nums)
生成连续数字
https://www.nowcoder.com/practice/d4c188331e2c4c8e89ab8b06de1c78db
import sys n = int(input()) nums = [] for i in range(2, 2*n+1, 2): nums.append(i) print(nums)
相关推荐