- 博客(3)
- 收藏
- 关注
原创 Base Class
#!/usr/bin/python # base class class person: def set_name(self, name): self.name = name def get_name(self): return self.name def gree
2015-07-10 22:26:26 512
原创 Base Function
#!/usr/bin/python # base function def jc(n): if n==1: return 1 return n * jc(n-1) print "hello jc(5)=", jc(5)
2015-07-10 22:24:39 637
原创 Hello World
#!/usr/bin/python # Filename : helloworld.py # run : python helloworld.py # : ./helloworld.py (first chmod a+x helloworld.py) # help: 1 python 2 help() print "hello world ! b
2015-07-10 22:19:35 364
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人