课程
/后端开发
/Python
/初识Python
n = 0x = 0while n < 100: if n % 2 == 0: x = x + n n = n + 1print x
2018-12-08
源自:初识Python 5-5
正在回答
sum = 0
x = 1
while x<=100:
sum += x
x += 2
print sum
if n % 2 != 0:
原来这的问题
举报
学python入门视频教程,让你快速入门并能编写简单的Python程序