1 | Subroutine sum(parameters) |
1 | procedure sum(parameters) |
1 | def sum(parameters) |
1 | int sum(parameters) |
1 | function sum(parameters) |
function sum(a, b) { return a + b; } sum(3, 5); |
1 2 3 | def sum(len = myLen, list = myList, result = myResult) |
1 2 3 4 | def show(a = 5): print (a) show() |
1 2 3 | function fun(x=5,y=10){ } |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |