摘要:
类和方法 创建类 class A(object): def add(self, a,b ): return a+b count = A() print(count.add(3,5)) 初始化工作 class A(): def __init__(self,a,b): self.a = int(a) s 阅读全文
posted @ 2018-11-07 17:21
生姜大叔
阅读(259)
评论(0)
推荐(0)
摘要:
python入门 import this import this The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better th 阅读全文
posted @ 2018-11-07 16:00
生姜大叔
阅读(86)
评论(0)
推荐(0)

浙公网安备 33010602011771号