Write and use functions in Python 3.
function用冒号结尾
1 |
def (): |
Parameters
1 |
def greet(lang): |
‘return’
1 |
def greet_with_return(): |
Write and use functions in Python 3.
function用冒号结尾
1 |
def (): |
1 |
def greet(lang): |
1 |
def greet_with_return(): |
近期评论