sum = 0
x = 1
while x<=100:
if x%2==0:
sum = sum +x
x = x+1
print sum
x = 1
while x<=100:
if x%2==0:
sum = sum +x
x = x+1
print sum
2015-02-06
#-*- coding:utf-8 -*-
s = 5
if s>=60:
print '及格'
else:
print '你丫又挂科了'
score = 55
if score>=60:
print 'passed'
else:
print 'failed'
s = 5
if s>=60:
print '及格'
else:
print '你丫又挂科了'
score = 55
if score>=60:
print 'passed'
else:
print 'failed'
2015-02-06