题解 | #生成连续数字#
生成连续数字
https://www.nowcoder.com/practice/d4c188331e2c4c8e89ab8b06de1c78db
while True:
try:
n = int(input())
except EOFError:
break
else:
print([2*i for i in range(1,n+1) ])
生成连续数字
https://www.nowcoder.com/practice/d4c188331e2c4c8e89ab8b06de1c78db
while True:
try:
n = int(input())
except EOFError:
break
else:
print([2*i for i in range(1,n+1) ])
相关推荐