摘要:
模块与包 模块的概念 模块的好处 模块的操作 #!/usr/bin/env python3 # -*- coding: utf-8 -*- ' a test module ' __author__ = 'Michael Liao' import sys def test(): args = sys. 阅读全文
posted @ 2019-10-05 17:43
Lay_blog
阅读(209)
评论(0)
推荐(0)
摘要:
函数基础 定义函数 #定义阶段 def tell_tag(tag,n): #有参数 print(tag*n) def tell_msg(): #无参数 print('hello world') #调用阶段 tell_tag('*',12) tell_msg() tell_tag('*',12) '' 阅读全文
posted @ 2019-10-05 10:52
Lay_blog
阅读(204)
评论(0)
推荐(0)

浙公网安备 33010602011771号