#!/usr/bin/python def sum(*args): result = 0 for arg in args: result += arg return result print sum(1,2,3)