# 计算 1-2+3....+99中除了88意外所有数的总和? # count =0 # sum =0 # while count<100: # count =count+1 # if count ==88: # continue # if count%2==1: # sum =sum +count # if count%2==0: # sum =sum-count # print(sum)
posted on 2018-12-27 11:24 没有岁月可回头 阅读(604) 评论(4) 编辑 收藏 举报