Skip to content

Conversation

johoo123
Copy link

No description provided.

python初步的认识
字符串Method
1. 函数取名
2. 不接受参数的函数
3. 没有return的函数
4. 接受外部传递进来的值函数
1)接受一个参数
2)接受多个参数
5. 变量作用域
6. 接受一系列值的位置参数
7. 关键字参数(有默认值)
8. 接受一系列值得关键字参数(Positional Aruguments)①接受一系列值Arbitrary Positional Argument②接受很多值Arbitrary Keyword Argument*
7. 函数中参数的排序。如果要设置默认值,放到Positional Argument后面。
1. lambda函数
2. map函数
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant