Python3 匿名函数 Python3 可变参数 Python3 Return 语句 Python3 匿名函数 #!/usr/bin/python3 # Function definition is here sum = lambda arg1, arg2: arg1 + arg2 # Now you can call sum as a function print ("Value of total : ", sum( 10, 20 )) print ("Value of total : ", sum( 20, 20 )) Python3 可变参数 Python3 Return 语句