摘要:
print "How old are you?",age = raw_input()print "How tall are you?",height = raw_input()print "How much do you weigh?",weight = raw_input()print "So, ... 阅读全文
摘要:
核函数估计Demo Iimport sys,re,osimport numpy as npfrom scipy import stats import matplotlib.pylab as plt if __name__ == '__main__': # random data gra... 阅读全文
摘要:
tabby_cat = "\tI'm tabbed in."persian_cat = "I'm split\non a line."backslash_cat = "I'm \\ a \\ cat."fat_cat = """I'll do a list:\t* Cat food\t* Fishi... 阅读全文
摘要:
# Here's some new strange stuff, remember type it exactly.days = "Mon Tue Wed Thu Fri Sat Sun"months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug"print "... 阅读全文
摘要:
formatter = "%r %r %r %r"print formatter % (1, 2, 3, 4)print formatter % ("one", "two", "three", "four")print formatter % (True, False, False, True)pr... 阅读全文
摘要:
print "Mary had a little lamb."print "Its fleece was white as %s." % 'snow'print "And everywhere that Mary went."print "." * 10 # what'd that do?end1 ... 阅读全文
摘要:
x = "There are %d types of people." % 10binary = "binary"do_not = "don't"y = "Those who know %s and those who %s." % (binary, do_not)print xprint ypri... 阅读全文
摘要:
my_name = 'Zed A. Shaw'my_age = 35 # not a liemy_height = 74 # inchesmy_weight = 180 # lbsmy_eyes = 'Blue'my_teeth = 'White'my_hair = 'Brown'print "Le... 阅读全文
摘要:
As a first guess,you can start with Scott’s rule for the bin widthw = 3.5σ/ 3√n,where σ is the standarddeviation for the entire data set and n is the ... 阅读全文
摘要:
点图,抖动图。http://jingyan.baidu.com/article/59703552eaf0fb8fc1074049.html横向或纵向加随机变量。其实也可以用气泡图。上为盗图。 阅读全文