最新回答 / qq_慕移动8430113
def average(*args): s1=0.0 if len(args)==0: return s1 s1 = sum(args)*1.0/len(args) return s1print average()print average(1, 2)print average(1, 2, 2, 3, 4)
2020-01-27