两行解决 | #尼科彻斯定理#
尼科彻斯定理
https://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
n = int(input()) print(*[n**2+1-n + 2*i for i in range(n)],sep = '+')
尼科彻斯定理
https://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
n = int(input()) print(*[n**2+1-n + 2*i for i in range(n)],sep = '+')
相关推荐