2012년 12월 22일 토요일

파이썬강의

# a=1 입력이 된다
# a ==1은 같다
'''
>=
'''
a = range(10)
result=0
firstS=str(a[0])
endS=str(a[len(a)-1])
end = len(a)-1
for i in a:
    result=result+i
    if i == end:
       print `firstS`+"plus"+`endS`+" "+"is" + `result`+`type(firstS)`+`type(endS)`

댓글 없음:

댓글 쓰기