在python中使用del关键字声明多个函数,具体方法如下: def f():global xx = 2print xx +=2 def g():global xprint xx += 3f()g()print x