#!/usr/bin/python# -*- coding: UTF-8 -*-# 可写函数说明def sum( arg1, arg2 ): # 返回2个参数的和." total = arg1 + arg2 print "函数内 : ", total return total# 调用sum函数total = sum( 10, 20 )