print 45678+0x12fd2
print 'learn python in imooc'
print 100<99
print 0xff==255
print 'learn python in imooc'
print 100<99
print 0xff==255
2016-02-17
sum = 0
x = 0
while True:
x+=1
if x <= 100:
if x%2 == 1:
sum+=x
else:continue
else:break
print sum
x = 0
while True:
x+=1
if x <= 100:
if x%2 == 1:
sum+=x
else:continue
else:break
print sum
2016-02-17
sum = 0
x = 1
while sum < 100:
while x%2==1:
sum+=x
x+=1
print sum
pycharm无反应了,这里通过了。。
x = 1
while sum < 100:
while x%2==1:
sum+=x
x+=1
print sum
pycharm无反应了,这里通过了。。
2016-02-17
print 45678+0x12fd2
print 'Learn Python in imooc'
print 100<99
print 0xff==255
print 'Learn Python in imooc'
print 100<99
print 0xff==255
2016-02-16
自我感觉比标准答案号,嘿嘿
for x in [ 1,2,3,4,5,6,7,8,9 ]:
for y in [ 0,1,2,3,4,5,6,7,8,9 ]:
if x >=y :
continue
print x,y
for x in [ 1,2,3,4,5,6,7,8,9 ]:
for y in [ 0,1,2,3,4,5,6,7,8,9 ]:
if x >=y :
continue
print x,y
2016-02-16