摘要: #import cal,time #导入模块名可以看作导入一个变量 #from cal import add # from cal import *#引入所有变量 *代表所有 占内存 不推荐 # # # print(cal.add(3,6))#必须使用模块名加函数的方法,不然解释器会在本文件中查找函数 # # print(cal.sub(10,5)) # # print(add(100,1... 阅读全文
posted @ 2019-07-05 11:25 coldplaycode 阅读(190) 评论(0) 推荐(0) 编辑

coldplaycode