def echo(anything):
'echo returns its input argument'
return anything
print(echo('I am'))
help(echo)
# Help on function echo in module __main__:
# echo(anything)
# echo returns its input argument
print(echo.__doc__)
# echo returns its input argument
25. 파이썬 표준모듈 (0) | 2023.10.17 |
---|---|
23. 내부 함수와 Closure (0) | 2023.10.13 |
22. 값으로서의 함수 (0) | 2023.10.13 |
댓글 영역