摘要:
import mathprint 12*34+78-132/6print (12*(34+78)-132)/6print (86/40)**5print math.fmod(145,23)print math.sin(0.5)print math.cos(0.5)a=1+2c=4print "1+2=%d" %aprint "1+2=%d,%d" %(a,c) 阅读全文
posted @ 2012-06-11 22:00
Dsp Tian
阅读(601)
评论(0)
推荐(0)
摘要:
import time#n=input("input a year:")n=time.localtime()[1]'''if n%400==0 or (n%4==0 and n%100!=0): print "yes"else: print "not"'''print n 阅读全文
posted @ 2012-06-11 21:48
Dsp Tian
阅读(815)
评论(0)
推荐(0)

浙公网安备 33010602011771号