# -*- coding: utf-8 -*-# @Time : 2019/1/2 16:35# @Author : Endless-cloud# @Site : # @File : 课后作业.py# @Software: PyCharm'''# 1.写函数,接收n个数字,求这些参数数字的和.(动态传参) '''# def fun1 (*args):# sun = 0# for i in args:## sun =sun+int(i)# print(sun)# fun1(1,2,3,4,5,6,…