面试题答案一键面试def calculate_average(*args): if not args: return 0 total = sum(args) return total / len(args)