编辑代码
Python代码
3.11.0
2.7.17
运行
n
=
int(input(""))
x
=
n
y
=
0
m
=
0
while
m<n:
y
=
y+x**2
m
=
n+1
print(y)