python1+..+100

530 단어 python100Python
python1+..+100
# -*- coding: cp936 -*-
y = "yes"
while y == "yes":
           print "please input num"
           a = input()
           print "please input endnum"
           c = input()
           b=a+1
           while b<=c:
               a=a+b
               b=b+1
           print '   :' ; print a
           #y = "no"                        #  “#”      
           print "go on!? (yes or no):"
           #y = raw_input()   #              y

좋은 웹페이지 즐겨찾기